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

Method _compute_unwrapped_hints

python/pyfory/struct.py:512–513  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510 return []
511
512 def _compute_unwrapped_hints(self):
513 return {field_name: unwrap_optional(hint)[0] for field_name, hint in self._type_hints.items()}
514
515 def _build_missing_field_defaults(self):
516 if not self.type_resolver.compatible or not self._default_values_factory:

Callers 1

__init__Method · 0.95

Calls 2

unwrap_optionalFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected