From a3a1af18420d7c181a2fe79e7fb61c5bab17a43e Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Sun, 27 Aug 2023 00:23:00 +0200 Subject: [PATCH] Format --- download_digital.py | 5 ++++- wsgi.py | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/download_digital.py b/download_digital.py index 1f4da91..5e7f705 100644 --- a/download_digital.py +++ b/download_digital.py @@ -70,7 +70,10 @@ bundesland_dict = { "1001": "Hamburg", } -def get_bez_data(tags: list[str], url: str = "https://beschaeftigtenbefragung.verdi.de/") -> list[dict]: + +def get_bez_data( + tags: list[str], url: str = "https://beschaeftigtenbefragung.verdi.de/" +) -> list[dict]: r = requests.get(url) soup = BeautifulSoup(r.text, "html.parser") bez_data = [] diff --git a/wsgi.py b/wsgi.py index a96acab..954a41d 100644 --- a/wsgi.py +++ b/wsgi.py @@ -19,9 +19,7 @@ def tables( ) df_state = construct_dataframe( - bez_data=bez_data[1], - grouped=False, - no_processing=True + bez_data=bez_data[1], grouped=False, no_processing=True ) output_str = []