Closed MangaBoba closed 10 months ago
You can use @register_serializable
decorator. To set custom coder and decoder methods just implement to_json
and from_json
methods for your class or default serialisation will be used.
@MangaBoba получилось сделать так, как предлложили выше?
https://github.com/aimclub/GOLEM/issues/215#issuecomment-1772644352 solved the problem.
If as a mutation function provided instance of custom class or partial, GOLEM rises TypeError exception on serialization parent_operator field of individual.
GOLEM verison: 0.3.3