(obj: Any)
| 19805 | |
| 19806 | @staticmethod |
| 19807 | def from_dict(obj: Any) -> 'HandlePendingToolCallRequest': |
| 19808 | assert isinstance(obj, dict) |
| 19809 | request_id = from_str(obj.get("requestId")) |
| 19810 | error = from_union([from_str, from_none], obj.get("error")) |
| 19811 | result = from_union([ExternalToolTextResultForLlm.from_dict, from_str, from_none], obj.get("result")) |
| 19812 | return HandlePendingToolCallRequest(request_id, error, result) |
| 19813 | |
| 19814 | def to_dict(self) -> dict: |
| 19815 | result: dict = {} |
nothing calls this directly
no test coverage detected