MCPcopy
hub / github.com/TaskingAI/TaskingAI / get_model_schema

Function get_model_schema

backend/app/services/model/model_schema.py:187–194  ·  view source on GitHub ↗

Get a model schema by model_schema_id. :param model_schema_id: the model schema id. :return: the model schema or None if not found.

(model_schema_id: str)

Source from the content-addressed store, hash-verified

185
186
187def get_model_schema(model_schema_id: str) -> Optional[ModelSchema]:
188 """
189 Get a model schema by model_schema_id.
190
191 :param model_schema_id: the model schema id.
192 :return: the model schema or None if not found.
193 """
194 return _model_schema_dict.get(model_schema_id)
195
196
197def i18n_text(

Callers 4

verify_model_credentialsFunction · 0.90
model_schemaMethod · 0.90
buildMethod · 0.90
api_get_model_schemaFunction · 0.50

Calls 1

getMethod · 0.45

Tested by

no test coverage detected