This package has been split into two independent packages.
| Package | PyPI | Documentation |
|---|---|---|
| Value Objects | value-object-sindri |
docs |
| Object Mothers | object-mother-sindri |
docs |
sindripy v2.0.0 is a transitional release that installs value-object-sindri and object-mother-sindri as dependencies and shows a deprecation warning on import. It no longer contains any implementation.
- Replace
sindripywith the new packages:
pip uninstall sindripy
pip install value-object-sindri object-mother-sindri- Update your imports:
# Old
from sindripy.value_objects import Integer, String
from sindripy.mothers import IntegerPrimitivesMother
# New
from value_object import Integer, String
from object_mother import IntegerPrimitivesMother- For custom value objects and validators, update the base class imports:
# Old
from sindripy.value_objects.value_object import ValueObject
from sindripy.value_objects.decorators.validation import validate
# New
from value_object import ValueObject, validateFor full documentation, visit: