Anyblok-marshmallow

Latest version: v2.3.0

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

Scan your dependencies

Page 2 of 3

2.0.0

------------------

* Add JsonCollection field, Allow to add a check in function of an collection
stored in a AnyBlok.fields.Json
* Add Text field, to represent an ``anyblok.column.Text``
* Migration of the code and unit test to marshmallow 3.0.0
* Add Email matching for ``anyblok.column.Email``
* Add URL matching for ``anyblok.column.URL``
* Add PhoneNumber matching for ``anyblok.column.PhoneNumber``
* Add Country matching for ``anyblok.column.Country``
* Add required_fields option
* Add InstanceField

1.4.0

------------------

* Replace **post_load_return_instance** method by **PostLoadSchema** class
* In the case of the field **Selection**, the validator **OneOf** is
applied with the available values come from the AnyBlok columns
* Replace **marshmallow_sqlalchemy.fields.Related** by
**anyblok_marshmallow.fields.Nested**. The goal is to improve the consistent
between all field in the schema

1.3.0

------------------

* [ADD] unittest on some case
* [FIX] AnyBlok field.Function is return as MarshMallow fields.Raw
* [ADD] fields.File, type to encode and decode to/from base 64

1.2.0

------------------

* [REF] decrease complexity
* [IMP] Add ``validates_schema`` on ModelSchema to automaticly check
if the field exist on the model

1.1.0

------------------

* Add option put only the primary keys
* Fix the Front page
* REF model option, can be given by another way than Meta
* Put RegistryNotFound in exceptions
* Add Nested field, this field is not and have not to be cached

1.0.2

------------------

* Fix pypi documentation

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.