Skip to content

Commit

Permalink
fix: AsyncEngine type on engine
Browse files Browse the repository at this point in the history
  • Loading branch information
galuszkak committed Jan 16, 2025
1 parent b3b221c commit 37b7f05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion slack_sdk/oauth/installation_store/sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def find_installation(
with self.engine.connect() as conn:
result: object = conn.execute(query)
for row in result.mappings(): # type: ignore[attr-defined]
(row)
installation = self.build_installation_entity(row)

has_user_installation = user_id is not None and installation is not None
Expand Down
2 changes: 1 addition & 1 deletion slack_sdk/oauth/state_store/sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def build_oauth_states_table(cls, metadata: MetaData, table_name: str) -> Table:
def __init__(
self,
expiration_seconds: int,
engine: Engine,
engine: AsyncEngine,
logger: Logger = logging.getLogger(__name__),
table_name: str = default_table_name,
):
Expand Down

0 comments on commit 37b7f05

Please sign in to comment.