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

Function create_foo

python/pyfory/format/tests/test_encoder.py:62–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def create_foo():
63 return Foo(
64 f1=1,
65 f2="hello",
66 f3=["a", "b", "c"],
67 f4={"x": 1, "y": 2},
68 f5=[10, 20, 30],
69 f6=42,
70 f7=Bar(f1=100, f2="world"),
71 )
72
73
74def foo_schema():

Callers 4

test_encodeFunction · 0.70
test_encoderFunction · 0.70
test_encoder_with_schemaFunction · 0.70

Calls 2

FooClass · 0.70
BarClass · 0.70

Tested by

no test coverage detected