{"library":"marshmallow-polyfield","type":"library","category":null,"description":"marshmallow-polyfield is an unofficial extension to Marshmallow (version 3+) that enables defining polymorphic fields within your schemas. It allows for serialization and deserialization of objects that can have different underlying types, mapping them to appropriate Marshmallow schemas based on a discriminator field. The current version is 5.11, and it maintains an active release cadence to ensure compatibility with recent Marshmallow versions.","language":"python","status":"active","version":"5.11","tags":["marshmallow","serialization","deserialization","polymorphism","rest","api","schema"],"install":[{"cmd":"pip install marshmallow-polyfield","imports":["from marshmallow_polyfield import PolyField","from marshmallow_polyfield import PolySchema"]}],"homepage":null,"github":"https://github.com/Bachmann1234/marshmallow-polyfield","docs":null,"changelog":null,"pypi":"https://pypi.org/project/marshmallow-polyfield/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.5,"avg_import_s":0.58,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/marshmallow-polyfield/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}