MCPcopy Create free account
hub / github.com/apache/fory / _authorize_callable_materialization

Function _authorize_callable_materialization

python/pyfory/serializer.py:120–122  ·  view source on GitHub ↗
(policy, callable_type, **kwargs)

Source from the content-addressed store, hash-verified

118
119
120def _authorize_callable_materialization(policy, callable_type, **kwargs):
121 if policy is not DEFAULT_POLICY:
122 policy.authorize_instantiation(callable_type, **kwargs)
123
124
125def _bind_static_method(obj, method_name):

Callers 3

_deserialize_functionMethod · 0.85
readMethod · 0.85
readMethod · 0.85

Calls 1

Tested by

no test coverage detected