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

Class TaskProgressLine

python/copilot/generated/rpc.py:8341–8361  ·  view source on GitHub ↗

Schema for the `TaskProgressLine` type.

Source from the content-addressed store, hash-verified

8339# Experimental: this type is part of an experimental API and may change or be removed.
8340@dataclass
8341class TaskProgressLine:
8342 """Schema for the `TaskProgressLine` type."""
8343
8344 message: str
8345 """Display message, e.g., "▸ bash", "✓ edit src/foo.ts\""""
8346
8347 timestamp: datetime
8348 """ISO 8601 timestamp when this event occurred"""
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 = {}
8359 result["message"] = from_str(self.message)
8360 result["timestamp"] = self.timestamp.isoformat()
8361 return result
8362
8363# Experimental: this type is part of an experimental API and may change or be removed.
8364class TaskShellInfoAttachmentMode(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…