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 14031f2 commit 61413ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion singer_sdk/connectors/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 61413ee

Please sign in to comment.