We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46464a5 commit 6775e8aCopy full SHA for 6775e8a
ax/storage/json_store/decoder.py
@@ -270,6 +270,11 @@ def object_from_json(
270
)
271
elif isclass(_class) and issubclass(_class, SerializationMixin):
272
return _class(
273
+ # Note: we do not recursively call object_from_json here again as
274
+ # that would invalidate design principles behind deserialize_init_args.
275
+ # Any Ax class that needs serialization and who's init args include
276
+ # another Ax class that needs serialization should implement its own
277
+ # _to_json and _from_json methods and register them appropriately.
278
**_class.deserialize_init_args(
279
args=object_json,
280
decoder_registry=decoder_registry,
0 commit comments