Check if a type contains any placeholder types (recursively).
(typ: Type)
| 373 | |
| 374 | |
| 375 | def has_placeholder(typ: Type) -> bool: |
| 376 | """Check if a type contains any placeholder types (recursively).""" |
| 377 | return typ.accept(HasPlaceholders()) |
| 378 | |
| 379 | |
| 380 | def find_dataclass_transform_spec(node: Node | None) -> DataclassTransformSpec | None: |
no test coverage detected
searching dependent graphs…