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

Method from_dict

python/copilot/client.py:920–925  ·  view source on GitHub ↗
(data: dict)

Source from the content-addressed store, hash-verified

918
919 @staticmethod
920 def from_dict(data: dict) -> SessionLifecycleEventMetadata:
921 return SessionLifecycleEventMetadata(
922 start_time=_parse_session_timestamp(data.get("startTime", "")),
923 modified_time=_parse_session_timestamp(data.get("modifiedTime", "")),
924 summary=data.get("summary"),
925 )
926
927
928@dataclass

Callers

nothing calls this directly

Calls 3

_parse_session_timestampFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected