From 11b3cb19337fc3a3d7261baa9ee4d9cd658048fc Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 31 Oct 2023 01:32:04 +0800 Subject: [PATCH] fix: add missing `import os`; --- pypots/classification/base.py | 1 + pypots/clustering/base.py | 1 + pypots/clustering/crli/model.py | 1 + pypots/clustering/vader/model.py | 1 + pypots/forecasting/base.py | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pypots/classification/base.py b/pypots/classification/base.py index cbf13114..1c932838 100644 --- a/pypots/classification/base.py +++ b/pypots/classification/base.py @@ -6,6 +6,7 @@ # License: GPL-v3 +import os from abc import abstractmethod from typing import Optional, Union diff --git a/pypots/clustering/base.py b/pypots/clustering/base.py index 43e3eaff..ab7b0439 100644 --- a/pypots/clustering/base.py +++ b/pypots/clustering/base.py @@ -6,6 +6,7 @@ # License: GPL-v3 +import os from abc import abstractmethod from typing import Union, Optional diff --git a/pypots/clustering/crli/model.py b/pypots/clustering/crli/model.py index e4e1fb6e..a5248838 100644 --- a/pypots/clustering/crli/model.py +++ b/pypots/clustering/crli/model.py @@ -10,6 +10,7 @@ # Created by Wenjie Du # License: GLP-v3 +import os from typing import Union, Optional, Tuple import numpy as np diff --git a/pypots/clustering/vader/model.py b/pypots/clustering/vader/model.py index c9f1948a..78aae862 100644 --- a/pypots/clustering/vader/model.py +++ b/pypots/clustering/vader/model.py @@ -11,6 +11,7 @@ # License: GLP-v3 +import os from typing import Tuple, Union, Optional import numpy as np diff --git a/pypots/forecasting/base.py b/pypots/forecasting/base.py index ad60a8d0..37ff04d1 100644 --- a/pypots/forecasting/base.py +++ b/pypots/forecasting/base.py @@ -5,7 +5,7 @@ # Created by Wenjie Du # License: GPL-v3 - +import os from abc import abstractmethod from typing import Optional, Union