MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / takes_pydantic

Function takes_pydantic

tests/test_models.py:633–634  ·  view source on GitHub ↗
(model: pydantic.BaseModel)

Source from the content-addressed store, hash-verified

631 # our model type can be assigned to Pydantic's model type
632
633 def takes_pydantic(model: pydantic.BaseModel) -> None: # noqa: ARG001
634 ...
635
636 class OurModel(BaseModel):
637 foo: Optional[str] = None

Callers 1

test_type_compatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected