Skip to content

Commit

Permalink
🩹 Mark Exporter.run as abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed May 27, 2024
1 parent b11c2ce commit 69516a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ddj_cloud/scrapers/talsperren/common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from abc import abstractmethod
from dataclasses import dataclass
import datetime as dt
from io import BytesIO
Expand Down Expand Up @@ -83,4 +84,6 @@ class Exporter(Protocol):

def __init__(self) -> None: ...

def run(self, df_base: pd.DataFrame) -> pd.DataFrame: ...
@abstractmethod
def run(self, df_base: pd.DataFrame) -> pd.DataFrame:
raise NotImplementedError

0 comments on commit 69516a6

Please sign in to comment.