From 0ef8701f5cc452886621aea390b0685b66068e9f 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 18:29:09 +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, 2 insertions(+), 2 deletions(-) diff --git a/singer_sdk/connectors/sql.py b/singer_sdk/connectors/sql.py index 3174d8ef5..c6f957589 100644 --- a/singer_sdk/connectors/sql.py +++ b/singer_sdk/connectors/sql.py @@ -59,7 +59,7 @@ def __init__( self._config: dict[str, t.Any] = config or {} self._sqlalchemy_url: str | None = sqlalchemy_url or None self._table_cols_cache: dict[str, dict[str, sqlalchemy.Column]] = {} - self._schema_cache: t.Set[str] = set() + self._schema_cache: set[str] = set() @property def config(self) -> dict: @@ -588,7 +588,7 @@ def schema_exists(self, schema_name: str) -> bool: """ if schema_name not in self._schema_cache: self._schema_cache = set( - sqlalchemy.inspect(self._engine).get_schema_names() + sqlalchemy.inspect(self._engine).get_schema_names(), ) return schema_name in self._schema_cache