Pydantic-factories

Latest version: v1.17.3

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 11

0.7.0

- add support for `factory_use_construct` kwargs, thanks - danielkatzan.

0.6.3

- fix backwards compatible import.

0.6.2

- fix bug with Literal[] values not being recognized.

0.6.1

- fix bug were nested optionals did not factor in `__allow_none_optionals__` settings.

0.6.0

- add `__allow_none_optionals__` factory class variable.
- add a new method on `ModelFactory` called `should_set_none_value`, which dictates whether a None value should be set for a given `ModelField`.
- update dependencies.
- update the `ModelFactory.create_factory` method to accept an optional `base` kwarg user defined kwargs.

0.5.0

- add ormar extension.

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.