(node: Var)
| 8415 | |
| 8416 | |
| 8417 | def is_init_only(node: Var) -> bool: |
| 8418 | return ( |
| 8419 | isinstance(type := get_proper_type(node.type), Instance) |
| 8420 | and type.type.fullname == "dataclasses.InitVar" |
| 8421 | ) |
| 8422 | |
| 8423 | |
| 8424 | def erase_func_annotations(func: FuncDef) -> None: |
no test coverage detected
searching dependent graphs…