MCPcopy
hub / github.com/Agenta-AI/agenta / model_dump

Method model_dump

api/oss/src/core/shared/dtos.py:94–97  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

92 return data
93
94 def model_dump(self, *args, **kwargs) -> dict:
95 kwargs.setdefault("exclude_none", True)
96
97 return self.encode(super().model_dump(*args, **kwargs))
98
99
100class Identifier(BaseModel):

Callers 15

generateFunction · 0.45
dictMethod · 0.45
to_jsonMethod · 0.45
__str__Method · 0.45
to_openai_kwargsMethod · 0.45
_get_configMethod · 0.45
_get_secretsMethod · 0.45
commitMethod · 0.45
acommitMethod · 0.45
parse_inline_traceFunction · 0.45
_make_serializableFunction · 0.45
generateFunction · 0.45

Calls 1

encodeMethod · 0.95