We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28a948 commit da91cfeCopy full SHA for da91cfe
src/utilities/supportData/dataFetcher.py
@@ -21,6 +21,7 @@
21
import functools
22
import requests
23
import pooch
24
+from typing import Optional
25
26
from Basilisk.utilities.supportData.registrySnippet import REGISTRY
27
from Basilisk import __version__
@@ -70,7 +71,7 @@ def select_base_url() -> str:
70
71
return fallback if DATA_VERSION == "v0.0.0" or not tag_exists(tag_url) else tag_url
72
73
-def find_local_support_data() -> Path | None:
74
+def find_local_support_data() -> Optional[Path]:
75
"""
76
Return the path to the local ``supportData`` directory if running
77
from a cloned repo in editable mode, otherwise return ``None``.
0 commit comments