MCPcopy
hub / github.com/TaskingAI/TaskingAI / validate_before

Method validate_before

plugin/app/routes/verify.py:19–26  ·  view source on GitHub ↗
(cls, data: Any)

Source from the content-addressed store, hash-verified

17
18 @model_validator(mode="before")
19 def validate_before(cls, data: Any):
20
21 # validate bundle credentials
22 credentials = validate_bundle_credentials(data)
23 data["credentials"] = credentials
24 data.pop("encrypted_credentials", None)
25
26 return data
27
28
29@router.post(

Callers

nothing calls this directly

Calls 2

popMethod · 0.45

Tested by

no test coverage detected