ocrd_utils.introspect module¶
Utility functions to simplify access to data structures.
- ocrd_utils.introspect.freeze_args(func)[source]¶
Transform mutable dictionary into immutable. Useful to be compatible with cache. Code taken from this post
Utility functions to simplify access to data structures.
Transform mutable dictionary into immutable. Useful to be compatible with cache. Code taken from this post