(obj: Any)
| 108 | |
| 109 | @staticmethod |
| 110 | def from_dict(obj: Any) -> 'AbortResult': |
| 111 | assert isinstance(obj, dict) |
| 112 | success = from_bool(obj.get("success")) |
| 113 | error = from_union([from_str, from_none], obj.get("error")) |
| 114 | return AbortResult(success, error) |
| 115 | |
| 116 | def to_dict(self) -> dict: |
| 117 | result: dict = {} |
nothing calls this directly
no test coverage detected