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