yciabaud opened a new pull request #4023: [python client] Handle subrecords in JsonSchema encoding URL: https://github.com/apache/pulsar/pull/4023 ### Motivation When using a complex type with subrecord in a JsonSchema, the JSON encoding fails with `Object of type SubType is not JSON serializable` because the actual encoding does not handle a default function that gets called for objects that can’t be serialized. ### Modifications Adding a function using the same behavior (using object dictionary) on objects make the encoding compatible with subrecords.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services