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
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Performance is significantly improved compared to v2
After skimming the codebase, it looks like the migration will be straightforward.
Replace usages of load_from and dump_to with data_key.
Update call sites of JobSchema.load[s] to expect the deserialized data as the return value instead of a tuple. Instead of getting the errors from a tuple, handle ValidationErrors.
👋 Just dropping by to let you know that marshmallow v3 is released.
Upgrading will provide a few benefits for this project:
load_fromanddump_tomatch, since they've been merged into a single parameter,data_key.DLWorkspace/src/ClusterManager/job.py
Line 152 in bb8ee5b
You could even do automatic camel-casing using this snippet: https://marshmallow.readthedocs.io/en/latest/examples.html#inflection-camel-casing-keys
fields.Dictto validate the type of keys and values: https://marshmallow.readthedocs.io/en/stable/api_reference.html#marshmallow.fields.DictAfter skimming the codebase, it looks like the migration will be straightforward.
load_fromanddump_towithdata_key.JobSchema.load[s]to expect the deserialized data as the return value instead of a tuple. Instead of getting the errors from a tuple, handleValidationErrors.