(obj: Any)
| 659 | |
| 660 | @staticmethod |
| 661 | def from_dict(obj: Any) -> 'CanvasAction': |
| 662 | assert isinstance(obj, dict) |
| 663 | name = from_str(obj.get("name")) |
| 664 | description = from_union([from_str, from_none], obj.get("description")) |
| 665 | input_schema = obj.get("inputSchema") |
| 666 | return CanvasAction(name, description, input_schema) |
| 667 | |
| 668 | def to_dict(self) -> dict: |
| 669 | result: dict = {} |
nothing calls this directly
no test coverage detected