/ releasenotes / notes / use-importlib-when-deserializing-callable-1f36f07c4518c2cf.yaml
use-importlib-when-deserializing-callable-1f36f07c4518c2cf.yaml
1  ---
2  enhancements:
3    - |
4      Improved deserialization of callables by using `importlib` instead of `sys.modules`.
5      This change allows importing local functions and classes that are not in `sys.modules`
6      when deserializing callables.