We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_bulk_create
_quantity
e.g.: baker.make(MyModel, _bulk_create=True) will no use bulk create, because _quantity can't be None, so _bulk_create will be just ignored, see:
baker.make(MyModel, _bulk_create=True)
None
model_bakery/model_bakery/baker.py
Lines 126 to 127 in 38d2dd7
I think it's not very much to do, to support this case, isn't it? I can create a PR, if this is ok.
Versions
The text was updated successfully, but these errors were encountered:
No branches or pull requests
e.g.:
baker.make(MyModel, _bulk_create=True)
will no use bulk create, because_quantity
can't beNone
, so_bulk_create
will be just ignored, see:model_bakery/model_bakery/baker.py
Lines 126 to 127 in 38d2dd7
I think it's not very much to do, to support this case, isn't it? I can create a PR, if this is ok.
Versions
The text was updated successfully, but these errors were encountered: