Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/github/copilot-sdk
/ to_dict
Method
to_dict
python/copilot/client.py:482–485 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
480
return
StopError(str(message))
481
482
def
to_dict(self) -> dict:
483
result: dict = {}
484
result[
"message"
] = self.message
485
return
result
486
487
488
@dataclass
Callers
15
test_canvas_open_response_drops_none_fields
Function · 0.45
test_register_canvas_handler_wires_generated_canvas_adapter
Function · 0.45
test_token_prices_round_trip
Method · 0.45
test_token_prices_absent
Method · 0.45
test_token_prices_empty_object_round_trip
Method · 0.45
test_long_context_empty_object_round_trip
Method · 0.45
to_dict
Method · 0.45
to_dict
Method · 0.45
to_dict
Method · 0.45
to_dict
Method · 0.45
to_dict
Method · 0.45
create_session
Method · 0.45
Calls
no outgoing calls
Tested by
6
test_canvas_open_response_drops_none_fields
Function · 0.36
test_register_canvas_handler_wires_generated_canvas_adapter
Function · 0.36
test_token_prices_round_trip
Method · 0.36
test_token_prices_absent
Method · 0.36
test_token_prices_empty_object_round_trip
Method · 0.36
test_long_context_empty_object_round_trip
Method · 0.36