Skip to content

Commit

Permalink
fix: fix return type of load function
Browse files Browse the repository at this point in the history
  • Loading branch information
d.a.bunin committed May 23, 2023
1 parent 2073fe9 commit 2c5a491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etna/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@

from hydra_slayer import get_factory

from etna.core.saving import AbstractSaveable

def load(path: pathlib.Path, **kwargs: Any) -> Any:

def load(path: pathlib.Path, **kwargs: Any) -> AbstractSaveable:
"""Load saved object by path.
Parameters
Expand Down

0 comments on commit 2c5a491

Please sign in to comment.