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

Method get_field_weak_ref

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

Source from the content-addressed store, hash-verified

587 return options.get("weak_ref") is True
588
589 def get_field_weak_ref(self, field: Field) -> bool:
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)

Callers 5

get_field_value_typeMethod · 0.95

Calls 1

is_weak_refMethod · 0.95

Tested by

no test coverage detected