MCPcopy
hub / github.com/pydantic/pydantic / Foo

Class Foo

tests/test_fields.py:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54def test_init_var_field():
55 @pydantic.dataclasses.dataclass
56 class Foo:
57 bar: str
58 baz: str = Field(init_var=True)
59
60 class Model(BaseModel):
61 foo: Foo

Callers 1

test_init_var_fieldFunction · 0.70

Calls 1

FieldFunction · 0.90

Tested by 1

test_init_var_fieldFunction · 0.56