esafak opened a new pull request, #2404:
URL: https://github.com/apache/fory/pull/2404
## What does this PR do?
* Implement `FunctionSerializer` to handle serialization and deserialization
of function objects.
* Utilize `cloudpickle` for robust function serialization, including
closures and lambdas.
* Introduce new test cases in `test_function.py` to cover various function
types:
* Lambda functions (simple and with closures).
* Regular functions.
* Nested functions.
* Register `FunctionSerializer` in `_registry.py` for automatic detection
and handling of function types during serialization.
* Ensure compatibility with both cross-language and Python-only modes.
## Related issues
Closes #2402
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
Not done
--
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]