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

Method get_map_value_weak_ref

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

Source from the content-addressed store, hash-verified

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):
597 return self.is_weak_ref(field.field_type.value_ref_options)
598 return False
599
600 def is_union_type(
601 self, field_type: FieldType, parent_stack: Optional[List[Message]]

Callers 3

get_field_value_typeMethod · 0.95

Calls 1

is_weak_refMethod · 0.95

Tested by

no test coverage detected