MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / to_dict

Method to_dict

api/bedrock_client.py:80–88  ·  view source on GitHub ↗

Convert to dictionary.

(self)

Source from the content-addressed store, hash-verified

78 return cls(**data)
79
80 def to_dict(self) -> Dict[str, Any]:
81 """Convert to dictionary."""
82 return {
83 "aws_access_key_id": self.aws_access_key_id,
84 "aws_secret_access_key": self.aws_secret_access_key,
85 "aws_session_token": self.aws_session_token,
86 "aws_region": self.aws_region,
87 "aws_role_arn": self.aws_role_arn,
88 }
89
90 def __getstate__(self):
91 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected