Skip to content

Commit 28c289f

Browse files
committed
Add type hint. Just to see if builds are cancelled.
1 parent 69e6162 commit 28c289f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openml/runs/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _repr_pretty_(self, pp, cycle):
6868
pp.text(str(self))
6969

7070
@classmethod
71-
def from_filesystem(cls, directory, expect_model=True):
71+
def from_filesystem(cls, directory: str, expect_model: bool = True) -> 'OpenMLRun':
7272
"""
7373
The inverse of the to_filesystem method. Instantiates an OpenMLRun
7474
object based on files stored on the file system.

0 commit comments

Comments
 (0)