Skip to content

Commit 07f44d0

Browse files
committed
Correct mysql_connections()
1 parent 842cbcf commit 07f44d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_mysql/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_list_sql(sequence: list[str] | tuple[str, ...]) -> str:
179179
return "({})".format(",".join("%s" for x in sequence))
180180

181181

182-
def mysql_connections() -> Generator[[str, BaseDatabaseWrapper]]:
182+
def mysql_connections() -> Generator[tuple[str, BaseDatabaseWrapper]]:
183183
conn_names = [DEFAULT_DB_ALIAS] + list(set(connections) - {DEFAULT_DB_ALIAS})
184184
for alias in conn_names:
185185
connection = connections[alias]

0 commit comments

Comments
 (0)