Richard Ebeling
Richard Ebeling
Edit: As explained in https://github.com/typeddjango/django-stubs/issues/975#issuecomment-1150997683, the properties `fields`, `concrete_fields`, `local_concrete_fields`, `many_to_many` and `related_objects` of the `Option` class are private according to their docstrings, even through they don't start with a...
### Description When starting isort with `--skip_gitignore`, directories that should not be traversed because they are configured in `skip` will be traversed. From what I've seen, this is purely a...
In #206, bulk creation of related objects was introduced. However, for `_quantity=N`, it will cause N calls to `save()` of the related class, causing N database queries. [This comment](https://github.com/model-bakers/model_bakery/pull/206#issuecomment-866035911) claimed...
Probably related to #202, as it is the same issue applied to ManyToManyField. When using `baker.make` with `_bulk_create=True`, it will silently ignore arguments that should be used to fill many-to-many...
**Background** I'm using a helper type definition from a stubs package in project. I'll call it `MyHelperType` here (if it matters, it's actually `StrOrPromise` from [django-stubs](https://github.com/typeddjango/django-stubs)). We have two deployment...
When using `baker.make` with `_bulk_create=True`, it will silently ignore arguments that should be used to fill many-to-many fields if the arguments use the reverve/related name. Follow up to #298, where...
Follow-Up to https://github.com/model-bakers/model_bakery/issues/385, which was fixed in https://github.com/model-bakers/model_bakery/pull/486. When specifying values for a M2M field inside an object that is itself accessed via a foreign key, baker doesn't create m2m...
Follow-Up to #385, which was fixed in #486. When specifying values for a M2M field that has a `reverse_name`, baker currently tries to create an instance of the through-model using...