We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726d2d7 commit 0871566Copy full SHA for 0871566
caelus/post/__init__.py
@@ -14,3 +14,8 @@
14
15
from .funcobj import PostProcessing
16
from .logs import SolverLog
17
+
18
+__all__ = [
19
+ "PostProcessing",
20
+ "SolverLog",
21
+]
caelus/py.typed
caelus/utils/osutils.py
@@ -246,6 +246,6 @@ def split_path(fname):
246
return (fdir, base, ext)
247
248
249
-def path_or_cwd(pdir: Path) -> Path:
+def path_or_cwd(pdir: Path | str | None) -> Path:
250
"""Sanitize the given path. If None, return current workding directory"""
251
return Path(abspath(str(pdir))) if pdir is not None else Path.cwd()
0 commit comments