Skip to content

Commit 9689068

Browse files
Fix typing incompatibility with Python 3.9 (#377)
1 parent acb8d58 commit 9689068

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/openlifu/util/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
from __future__ import annotations
33

44
import os
5+
from typing import Union
56

6-
PathLike = str|os.PathLike
7+
PathLike = Union[str,os.PathLike]

0 commit comments

Comments
 (0)