Skip to content

Commit

Permalink
style: fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Apr 17, 2024
1 parent 6744a62 commit 509bc02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/safeds/data/image/containers/_empty_image_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _EmptyImageList(ImageList):
| [from_files][safeds.data.image.containers._image_list.ImageList.from_files] | Create an ImageList from a directory or a list of files. |
"""

_instance: _EmptyImageList | None = None
_instance = None

@staticmethod
def _warn_empty_image_list() -> None:
Expand Down
2 changes: 2 additions & 0 deletions src/safeds/data/tabular/containers/_time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ def __init__(
if len(self.target._data) == 0:
self.target._data = pd.Series(name=target_name)

self._data = _data._data

def __eq__(self, other: object) -> bool:
"""
Compare two time series instances.
Expand Down

0 comments on commit 509bc02

Please sign in to comment.