Skip to content

Commit e6dc554

Browse files
fix: remove a use of | in type annotations that slipped through
1 parent ab7d340 commit e6dc554

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/validate/test_facades.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def generate_client_facades(cls, project_root: Path) -> ClientFacades:
9696
return client_facades
9797

9898
@staticmethod
99-
def _try_import(module_name: str) -> ModuleType | None:
99+
def _try_import(module_name: str) -> Optional[ModuleType]:
100100
try:
101101
return importlib.import_module(module_name)
102102
except NameError as e:

0 commit comments

Comments
 (0)