MCPcopy Index your code
hub / github.com/github/copilot-sdk / AccountLogoutRequest

Class AccountLogoutRequest

python/copilot/generated/rpc.py:347–362  ·  view source on GitHub ↗

User to log out

Source from the content-addressed store, hash-verified

345# Experimental: this type is part of an experimental API and may change or be removed.
346@dataclass
347class AccountLogoutRequest:
348 """User to log out"""
349
350 auth_info: AuthInfo
351 """Authentication information for the user to log out"""
352
353 @staticmethod
354 def from_dict(obj: Any) -> 'AccountLogoutRequest':
355 assert isinstance(obj, dict)
356 auth_info = _load_AuthInfo(obj.get("authInfo"))
357 return AccountLogoutRequest(auth_info)
358
359 def to_dict(self) -> dict:
360 result: dict = {}
361 result["authInfo"] = (self.auth_info).to_dict()
362 return result
363
364# Experimental: this type is part of an experimental API and may change or be removed.
365@dataclass

Callers 1

from_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…