diff --git a/dlt/destinations/impl/filesystem/sql_client.py b/dlt/destinations/impl/filesystem/sql_client.py index 20020dbbfe..e3113e7a8b 100644 --- a/dlt/destinations/impl/filesystem/sql_client.py +++ b/dlt/destinations/impl/filesystem/sql_client.py @@ -69,7 +69,7 @@ def _create_default_secret_name(self) -> str: escaped_bucket_name = regex.sub("", self.fs_client.config.bucket_url.lower()) return f"secret_{escaped_bucket_name}" - def drop_authentication(self, secret_name: str) -> None: + def drop_authentication(self, secret_name: str = None) -> None: if not secret_name: secret_name = self._create_default_secret_name() self._conn.sql(f"DROP PERSISTENT SECRET {secret_name}")