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

Method from_dict

python/copilot/generated/rpc.py:8351–8355  ·  view source on GitHub ↗
(obj: Any)

Source from the content-addressed store, hash-verified

8349
8350 @staticmethod
8351 def from_dict(obj: Any) -> 'TaskProgressLine':
8352 assert isinstance(obj, dict)
8353 message = from_str(obj.get("message"))
8354 timestamp = from_datetime(obj.get("timestamp"))
8355 return TaskProgressLine(message, timestamp)
8356
8357 def to_dict(self) -> dict:
8358 result: dict = {}

Callers

nothing calls this directly

Calls 4

from_strFunction · 0.70
from_datetimeFunction · 0.70
TaskProgressLineClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected