esafak commented on issue #2409:
URL: https://github.com/apache/fory/issues/2409#issuecomment-3070510261

   `cloudpickle` is cached as `self.pickler`. What would you like to do with 
[handle_unsupported_write](https://github.com/apache/fory/blob/main/python/pyfory/_fory.py#L442-L447)?
 
   ```python
   def handle_unsupported_write(self, buffer, obj):
           if self._unsupported_callback is None or 
self._unsupported_callback(obj):
               buffer.write_bool(True)
               self.pickler.dump(obj)
           else:
               buffer.write_bool(False)
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to