Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds committed Dec 8, 2023
1 parent 560a720 commit f77d21f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dl_sqlalchemy_postgres/dl_sqlalchemy_postgres/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import datetime
import logging
import typing
from typing import (
Any,
Optional,
Expand Down Expand Up @@ -129,7 +130,7 @@ def __init__(self, enforce_collate=None, **kwargs):
forced_server_version_string: str | None = None
error_server_version_info: tuple[int, ...] = (9, 3)

def connect(self, *cargs, **cparams):
def connect(self, *cargs: typing.Any, **cparams: typing.Any):
self.forced_server_version_string = cparams.pop("server_version", self.forced_server_version_string)
return super().connect(*cargs, **cparams)

Expand Down

0 comments on commit f77d21f

Please sign in to comment.