(stable_abi_file: Path)
| 115 | |
| 116 | |
| 117 | def read_stable_abi_data(stable_abi_file: Path) -> dict[str, StableABIEntry]: |
| 118 | stable_abi_data = {} |
| 119 | with open(stable_abi_file, encoding="utf8") as fp: |
| 120 | for record in csv.DictReader(fp): |
| 121 | name = record["name"] |
| 122 | stable_abi_data[name] = StableABIEntry(**record) |
| 123 | |
| 124 | return stable_abi_data |
| 125 | |
| 126 | |
| 127 | _VALID_THREADSAFETY_LEVELS = frozenset({ |
no test coverage detected
searching dependent graphs…