Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/copilot-sdk
/ session_event_from_dict
Function
session_event_from_dict
python/copilot/generated/session_events.py:9091–9092 ·
view source on GitHub ↗
(s: Any)
Source
from the content-addressed store, hash-verified
9089
9090
9091
def
session_event_from_dict(s: Any) -> SessionEvent:
9092
return
SessionEvent.from_dict(s)
9093
9094
9095
def
session_event_to_dict(x: SessionEvent) -> Any:
Callers
7
test_unknown_event_type_maps_to_unknown
Method · 0.90
test_known_event_preserves_top_level_agent_id
Method · 0.90
test_unknown_event_preserves_top_level_agent_id
Method · 0.90
test_malformed_uuid_raises_error
Method · 0.90
test_malformed_timestamp_raises_error
Method · 0.90
handle_notification
Method · 0.85
get_events
Method · 0.85
Calls
1
from_dict
Method · 0.45
Tested by
5
test_unknown_event_type_maps_to_unknown
Method · 0.72
test_known_event_preserves_top_level_agent_id
Method · 0.72
test_unknown_event_preserves_top_level_agent_id
Method · 0.72
test_malformed_uuid_raises_error
Method · 0.72
test_malformed_timestamp_raises_error
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…