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

Class SessionBulkDeleteResult

python/copilot/generated/rpc.py:6399–6417  ·  view source on GitHub ↗

Map of sessionId -> bytes freed by removing the session's workspace directory.

Source from the content-addressed store, hash-verified

6397# Experimental: this type is part of an experimental API and may change or be removed.
6398@dataclass
6399class SessionBulkDeleteResult:
6400 """Map of sessionId -> bytes freed by removing the session's workspace directory."""
6401
6402 freed_bytes: dict[str, int]
6403 """Map of sessionId -> bytes freed by removing the session's workspace directory. Sessions
6404 whose deletion failed are omitted from this map (failures are logged on the server but
6405 not surfaced per-id; check the map for absent IDs to detect them).
6406 """
6407
6408 @staticmethod
6409 def from_dict(obj: Any) -> 'SessionBulkDeleteResult':
6410 assert isinstance(obj, dict)
6411 freed_bytes = from_dict(from_int, obj.get("freedBytes"))
6412 return SessionBulkDeleteResult(freed_bytes)
6413
6414 def to_dict(self) -> dict:
6415 result: dict = {}
6416 result["freedBytes"] = from_dict(from_int, self.freed_bytes)
6417 return result
6418
6419# Experimental: this type is part of an experimental API and may change or be removed.
6420class SessionCapability(Enum):

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…