- [ ] **[PEP 604]** Replace `isinstance(x, (A, B))` with `isinstance(x, A | B)` — `service.py` lines ~1306 and ~1711 - [ ] **[PEP 634 / HIGH]** Refactor `_build_expression` operator dispatch to `match`/`case` — `service.py` (removes `too-many-return-statements, too-many-branches` pylint suppression) - [ ] **[PEP 634 / HIGH]** Refactor `MetadataBuilder.build()` XML type dispatch to `match`/`case` — `model.py` ~line 2737 - [ ] **[PEP 634 / MEDIUM]** Refactor `function_import_handler` return-type dispatch to `match`/`case` — `service.py` ~line 1711 - [ ] **[PEP 634 / MEDIUM]** Refactor navigation property multiplicity dispatch to `match`/`case` — `service.py` ~line 859 - [ ] **[PEP 634 / LOW]** Refactor `ValueHelper.from_etree` annotation property dispatch to `match`/`case` — `model.py` ~line 2473 - [ ] **[CLEANUP]** Replace all `super(ClassName, self)` with `super()` — 46 locations across `exceptions.py`, `model.py`, `service.py`, `vendor/SAP.py`
isinstance(x, (A, B))withisinstance(x, A | B)—service.pylines ~1306 and ~1711_build_expressionoperator dispatch tomatch/case—service.py(removestoo-many-return-statements, too-many-branchespylint suppression)MetadataBuilder.build()XML type dispatch tomatch/case—model.py~line2737
function_import_handlerreturn-type dispatch tomatch/case—service.py~line 1711
match/case—service.py~line859
ValueHelper.from_etreeannotation property dispatch tomatch/case—model.py~line 2473super(ClassName, self)withsuper()— 46 locations acrossexceptions.py,model.py,service.py,vendor/SAP.py