Skip to content

Commit

Permalink
remove typealias
Browse files Browse the repository at this point in the history
  • Loading branch information
MaiBe-ctrl committed Jun 14, 2024
1 parent 2b50d35 commit 1aab28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neuralprophet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
import sys
from collections import OrderedDict
from typing import TYPE_CHECKING, Iterable, Optional, Union, BinaryIO, IO, TypeAlias
from typing import TYPE_CHECKING, Iterable, Optional, Union, BinaryIO, IO

import numpy as np
import pandas as pd
Expand All @@ -21,7 +21,7 @@

log = logging.getLogger("NP.utils")

FILE_LIKE: TypeAlias = Union[str, os.PathLike, BinaryIO, IO[bytes]]
FILE_LIKE = Union[str, os.PathLike, BinaryIO, IO[bytes]]

def save(forecaster, path: FILE_LIKE):
"""Save a fitted Neural Prophet model to disk.
Expand Down

0 comments on commit 1aab28f

Please sign in to comment.