Create a snapshot representation of a type using nested tuples.
(typ: Type)
| 331 | |
| 332 | |
| 333 | def snapshot_type(typ: Type) -> SnapshotItem: |
| 334 | """Create a snapshot representation of a type using nested tuples.""" |
| 335 | return typ.accept(SnapshotTypeVisitor()) |
| 336 | |
| 337 | |
| 338 | def snapshot_optional_type(typ: Type | None) -> SnapshotItem: |
no test coverage detected
searching dependent graphs…