We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9705679 commit 68eb985Copy full SHA for 68eb985
atest/SmallLibrary.py
@@ -9,6 +9,9 @@ class SmallLibrary(DynamicCore):
9
10
def __init__(self, translation: Optional[Path] = None):
11
"""__init__ documentation."""
12
+ if not isinstance(translation, Path):
13
+ logger.warn("Convert to Path")
14
+ translation = Path(translation)
15
logger.warn(translation.absolute())
16
logger.warn(type(translation))
17
0 commit comments