github litestar-org/polyfactory v2.12.0

latest releases: v2.18.0, v2.17.0, v2.16.2...
12 months ago

❤️ Sponsors ❤️

GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

New Features 🚀

  • Set factory.__model__ as default for model argument in create_factory by @g0di in #429
  • Model type coverage generation by @sam-or in #390

Fixes 🔧

  • Handle cases where 'init=False' for dataclasses and attrs models by @guacs in #433
  • Correctly handle collections with constrained items by @guacs in #436

New Contributors

Full Changelog: v2.11.0...v2.12.0

Don't miss a new polyfactory release

NewReleases is sending notifications on new releases.