Skip to content

Commit 67680bc

Browse files
ebrahimebrahimarhowe00
authored andcommitted
Use PathLike type annotation in DB initializer (OpenwaterHealth#217)
1 parent 3a721df commit 67680bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openlifu/db/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ def get_default_path():
10771077
return Path(Database.get_default_user_dir()) / "Documents" / "db"
10781078

10791079
@staticmethod
1080-
def initialize_empty_database(database_filepath : Path | str) -> "Database":
1080+
def initialize_empty_database(database_filepath : PathLike) -> "Database":
10811081
"""
10821082
Initializes an empty database at the given database_filepath
10831083
"""

0 commit comments

Comments
 (0)