Convert this Statement into a dictionary for use in persistent JSON history files.
(self)
| 223 | return shlex_split(self.args) |
| 224 | |
| 225 | def to_dict(self) -> dict[str, Any]: |
| 226 | """Convert this Statement into a dictionary for use in persistent JSON history files.""" |
| 227 | return asdict(self) |
| 228 | |
| 229 | @classmethod |
| 230 | def from_dict(cls, source_dict: dict[str, Any]) -> Self: |
no outgoing calls