MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / to_dict

Method to_dict

web/pgadmin/llm/models.py:132–138  ·  view source on GitHub ↗

Convert to dictionary representation.

(self)

Source from the content-addressed store, hash-verified

130 parameters: dict[str, Any]
131
132 def to_dict(self) -> dict:
133 """Convert to dictionary representation."""
134 return {
135 'name': self.name,
136 'description': self.description,
137 'parameters': self.parameters
138 }
139
140
141@dataclass

Callers 2

to_dictMethod · 0.45
to_dictMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected