MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / validate_before

Method validate_before

plugin/app/routes/execute.py:55–62  ·  view source on GitHub ↗
(cls, data: Any)

Source from the content-addressed store, hash-verified

53
54 @model_validator(mode="before")
55 def validate_before(cls, data: Any):
56
57 # validate bundle credentials
58 credentials = validate_bundle_credentials(data)
59 data["credentials"] = credentials
60 data.pop("encrypted_credentials", None)
61
62 return data
63
64 @model_validator(mode="after")
65 def validate_after(cls, data: Any):

Callers

nothing calls this directly

Calls 2

popMethod · 0.45

Tested by

no test coverage detected