Skip to content
New issue

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

Explicitly add _fill_optional parameter to baker.make and baker.prepare #263

Closed
berinhard opened this issue Nov 8, 2021 · 1 comment
Closed
Labels
good first issue Good for newcomers

Comments

@berinhard
Copy link
Member

Recently I noticed that the _fill_optional argument isn't being displayed in Pycharm's helper dialog. Here's a print screen:

Screenshot from 2021-11-08 11-32-02

Expected behavior

The _fill_optional argument should be displayed the same way as the other parameters. The possible types are a list of strings with the field names or True to populate all boolean fields.

Actual behavior

The parameter is not being displayed.

Reproduction Steps

Try to use model-bakery with any modern Python IDE such as Pycharm or a configured VSCode.

Versions

Python: 3.8
Django: 2.2.
Model Bakery: 1.3.2

@berinhard
Copy link
Member Author

Fixed by #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant