MCPcopy
hub / github.com/pydantic/pydantic / validate

Method validate

tests/test_json_schema.py:3565–3566  ·  view source on GitHub ↗
(cls, v: Any)

Source from the content-addressed store, hash-verified

3563
3564 @classmethod
3565 def validate(cls, v: Any):
3566 return v
3567
3568 @classmethod
3569 def __get_pydantic_core_schema__(cls, source: Any, handler: GetCoreSchemaHandler) -> core_schema.CoreSchema:

Callers 2

test_validateFunction · 0.45
test_validateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected