Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2023
1 parent 3e2859c commit 0ef8701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singer_sdk/connectors/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0ef8701

Please # to comment.