From 61413ee3577c1b5340c9a192cd92c401c03c69f3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:27:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- singer_sdk/connectors/sql.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/singer_sdk/connectors/sql.py b/singer_sdk/connectors/sql.py index fa08b73f6..b5f8eb757 100644 --- a/singer_sdk/connectors/sql.py +++ b/singer_sdk/connectors/sql.py @@ -587,7 +587,9 @@ def schema_exists(self, schema_name: str) -> bool: True if the database schema exists, False if not. """ if schema_name not in self._schema_cache: - self._schema_cache = set(sqlalchemy.inspect(self._engine).get_schema_names()) + self._schema_cache = set( + sqlalchemy.inspect(self._engine).get_schema_names() + ) return schema_name in self._schema_cache