You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a marshmallow context to alter serialization and de-serialization of many schemas (see example below).
Would it be possible to include the context of the parent schema when creating nested schemas?
Hi,
I'm using a marshmallow context to alter serialization and de-serialization of many schemas (see example below).
Would it be possible to include the context of the parent schema when creating nested schemas?
marshmallow-jsonschema/marshmallow_jsonschema/base.py
Line 292 in 4a74842
Using
nested_instance = nested(only=only, exclude=exclude, context=obj.context)
would do just fine.Alex
The text was updated successfully, but these errors were encountered: