MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / PydanticV1Model

Class PydanticV1Model

tests/unit/test_serialization.py:45–52  ·  view source on GitHub ↗

Mock Pydantic v1 model with dict method.

Source from the content-addressed store, hash-verified

43
44
45class PydanticV1Model:
46 """Mock Pydantic v1 model with dict method."""
47
48 def __init__(self, **data):
49 self.__dict__.update(data)
50
51 def dict(self):
52 return self.__dict__
53
54
55class PydanticV2Model:

Callers 2

test_pydantic_modelsMethod · 0.85
test_pydantic_modelsMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_pydantic_modelsMethod · 0.68
test_pydantic_modelsMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…