From 5090178b69a4b74c88d6678fdc95862223402da8 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Fri, 26 Jun 2020 01:54:47 +0100 Subject: [PATCH] Remove kwargs from Super calls in AWS Secrets Backends We don't want pass to kwargs to `BaseSecretsBackend` nor `LoggingMixin` --- airflow/providers/amazon/aws/secrets/secrets_manager.py | 2 +- airflow/providers/amazon/aws/secrets/systems_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow/providers/amazon/aws/secrets/secrets_manager.py b/airflow/providers/amazon/aws/secrets/secrets_manager.py index e3b763146be59..6932d8e5f32b7 100644 --- a/airflow/providers/amazon/aws/secrets/secrets_manager.py +++ b/airflow/providers/amazon/aws/secrets/secrets_manager.py @@ -66,7 +66,7 @@ def __init__( sep: str = "/", **kwargs ): - super().__init__(**kwargs) + super().__init__() self.connections_prefix = connections_prefix.rstrip("/") self.variables_prefix = variables_prefix.rstrip('/') self.profile_name = profile_name diff --git a/airflow/providers/amazon/aws/secrets/systems_manager.py b/airflow/providers/amazon/aws/secrets/systems_manager.py index 3c11f9c543728..203be353dd9cc 100644 --- a/airflow/providers/amazon/aws/secrets/systems_manager.py +++ b/airflow/providers/amazon/aws/secrets/systems_manager.py @@ -59,7 +59,7 @@ def __init__( profile_name: Optional[str] = None, **kwargs ): - super().__init__(**kwargs) + super().__init__() self.connections_prefix = connections_prefix.rstrip("/") self.variables_prefix = variables_prefix.rstrip('/') self.profile_name = profile_name