Objectfactory

Latest version: v0.1.1

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

Scan your dependencies

0.1.1

13

0.1.0

This is the first stable release of **objectfactory**

Associated with PR 5

Changes include:
- integrate marshmallow serialization framework
- support typed fields
- implement nested factory field for marshmallow
- allow custom marshmallow schema
- expose static factory methods directly
- support type enforcement and hinting in factory `create` method
- support required fields
- add `from_kwargs` constructor to free up `__init__`
- create proper abstract base classes
- refactor and expand test suite
- setup documentation with sphinx and read the docs
- update travis build for new platform
- improve documentation
- various bug fixes

0.0.3

associated with PR 3
- allow setting class type for serializable `Nested` field
- allow setting class type for nested serializable `List`
- will automatically use this class if `_type` is not specified in dictionary
- will throw error if conflicting `_type` is provided

0.0.2

- refactor codebase
- examples
- documentation
- automated testing

0.0.1

initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.