Py-yaml-fixtures

Latest version: v0.6.2

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

Scan your dependencies

Page 1 of 3

0.6.2

- when using Flask Unchained, support loading from the root "db" and/or "db/fixtures" directories

0.6.1

- support filtering for existing models by date/datetime in the SQLAlchemy factory (thanks to westonplatter)
- fix filtering for existing models on the singular side of a o2m relationship in the SQLAlchemy factory (thanks to westonplatter)
- add tests for usage with standalone SQLAlchemy
- add integration tests for usage with Flask Unchained
- document known limitations

0.6.0

- support Flask Unchained v0.8
- support Faker v3
- let factories support duplicate identifiers across model classes
- add `django.contrib.auth.hashers.make_password` as `hash_password` to jinja env
- add basic integration test for django
- add support for datetime.timedelta to SQLAlchemyModelFactory

0.5.0

- fix bugs in `date_factory` and `datetime_factory` functions, add tests
- support loading multiple models from individual files named `fixtures.yml` or `fixtures.yaml`
- fix bugs with loading fixtures using stock SQLAlchemy

0.4.0

- add Django support
- add Flask Unchained support
- improve docs

0.3.2

- add support for loading fixtures from one or more directories

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.