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

Class NestedOptionalObject

python/pyfory/tests/test_struct.py:1120–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118
1119@dataclass
1120class NestedOptionalObject:
1121 f1: Optional[ComplexObject] = None
1122 f2: Optional[Dict[str, int]] = None
1123 f3: str = ""
1124
1125
1126@pytest.mark.parametrize("xlang", [False, True])

Callers 1

Calls

no outgoing calls

Tested by 1