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

Method get_element_weak_ref

compiler/fory_compiler/generators/cpp.py:592–593  ·  view source on GitHub ↗
(self, field: Field)

Source from the content-addressed store, hash-verified

590 return self.is_weak_ref(field.ref_options)
591
592 def get_element_weak_ref(self, field: Field) -> bool:
593 return self.is_weak_ref(field.element_ref_options)
594
595 def get_map_value_weak_ref(self, field: Field) -> bool:
596 if isinstance(field.field_type, MapType):

Callers 3

get_field_value_typeMethod · 0.95

Calls 1

is_weak_refMethod · 0.95

Tested by

no test coverage detected