Skip to content

Commit 24a6230

Browse files
chore: lint
1 parent ff9d6c9 commit 24a6230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/sql/connector/connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import socket
2424
from threading import Thread
2525
from types import TracebackType
26-
from typing import Any, Optional, Union
26+
from typing import Any, Callable, Optional, Union
2727

2828
import google.auth
2929
from google.auth.credentials import Credentials
@@ -336,7 +336,7 @@ async def connect_async(
336336

337337
# only accept supported database drivers
338338
try:
339-
connector = connect_func[driver]
339+
connector: Callable = connect_func[driver] # type: ignore
340340
except KeyError:
341341
raise KeyError(f"Driver '{driver}' is not supported.")
342342

0 commit comments

Comments
 (0)