Skip to content

Commit

Permalink
Merge pull request #267 from oarepo/marshmallow-3.22-fix
Browse files Browse the repository at this point in the history
Fixed marshmallow backward incompatible change
  • Loading branch information
Alzpeta authored Aug 21, 2024
2 parents 2870117 + 93b89ef commit 0797270
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion oarepo_model_builder/datatypes/containers/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_obj_type(self, obj):

def load(self, data, *, many=None, partial=None, unknown=None, **kwargs):
# OneOfSchema does not call pre-load actions, so add it here explicitly
if self._has_processors(ma.decorators.PRE_LOAD):
if ma.decorators.PRE_LOAD in self._hooks:
try:
processed_data = self._invoke_load_processors(
ma.decorators.PRE_LOAD,
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder
version = 4.0.87
version = 4.0.88
description = A utility library that generates OARepo required data model files from a JSON specification file
authors = Miroslav Bauer <[email protected]>, Miroslav Simek <[email protected]>
readme = README.md
Expand All @@ -25,7 +25,7 @@ install_requires =
libcst>=0.3.19
tomlkit>=0.7.2
importlib_metadata>=4.0.0
marshmallow
marshmallow>=3.22.0
marshmallow-union
marshmallow-oneofschema
autoflake
Expand Down

0 comments on commit 0797270

Please sign in to comment.