Skip to content

Commit

Permalink
Removed debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
timbernat committed Apr 19, 2024
1 parent 81b825b commit 70ddf1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion polymerist/genutils/fileutils/jsonio/jsonify.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def from_file(cls, load_path : Path) -> cls.__class__:
return json.load(loadfile, object_hook=cls.serializer.decoder_hook)

# !CRITICAL! that the custom serializer be registered for WrappedClass and NOT cls; otherwise, decoded instances will have different type to the parent class
print(signature(WrappedClass) == signature(cls))
CustomSerializer = dataclass_serializer_factory(WrappedClass)
multi_serializer.add_type_serializer(CustomSerializer)

Expand Down

0 comments on commit 70ddf1e

Please sign in to comment.