MCPcopy Index your code
hub / github.com/google/adk-python / model_validate

Method model_validate

src/google/adk/auth/auth_credential.py:47–52  ·  view source on GitHub ↗
(cls, data: Dict[str, Any])

Source from the content-addressed store, hash-verified

45
46 @classmethod
47 def model_validate(cls, data: Dict[str, Any]) -> "HttpCredentials":
48 return cls(
49 username=data.get("username"),
50 password=data.get("password"),
51 token=data.get("token"),
52 )
53
54
55class HttpAuth(BaseModelWithConfig):

Callers 15

orchestrateFunction · 0.80
calculate_priceFunction · 0.80
process_agent_eventFunction · 0.80
run_asyncMethod · 0.80
from_configMethod · 0.80
run_asyncMethod · 0.80
_get_declarationMethod · 0.80
_preprocess_argsMethod · 0.80
_to_gemini_schemaFunction · 0.80
from_configMethod · 0.80
_get_declarationMethod · 0.80

Calls 1

getMethod · 0.45