MCPcopy
hub / github.com/pydantic/pydantic / f

Function f

tests/test_validate_call.py:46–46  ·  view source on GitHub ↗
(x: int)

Source from the content-addressed store, hash-verified

44
45def test_func_type() -> None:
46 def f(x: int): ...
47
48 class A:
49 def m(self, x: int): ...

Callers 6

test_annotated_numFunction · 0.70
test_annotated_validatorFunction · 0.70
test_annotated_strictFunction · 0.70
test_partialFunction · 0.70

Calls 3

FieldFunction · 0.90
BeforeValidatorClass · 0.90
AfterValidatorClass · 0.90

Tested by

no test coverage detected