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

Method to_dict

api/dashscope_client.py:618–625  ·  view source on GitHub ↗

Convert to dictionary.

(self)

Source from the content-addressed store, hash-verified

616 return cls(**data)
617
618 def to_dict(self) -> Dict[str, Any]:
619 """Convert to dictionary."""
620 return {
621 "api_key": self._api_key,
622 "workspace_id": self._workspace_id,
623 "base_url": self.base_url,
624 "input_type": self._input_type,
625 }
626
627 def __getstate__(self):
628 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected