Skip to content

Commit 2195667

Browse files
committed
Fix type for GroupConcat arg 1
1 parent f91d19a commit 2195667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/django_mysql/models/aggregates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Any
44

55
from django.db.backends.base.base import BaseDatabaseWrapper
6-
from django.db.models import Aggregate, CharField, Expression
6+
from django.db.models import Aggregate, CharField
77
from django.db.models.sql.compiler import SQLCompiler
88

99

@@ -27,7 +27,7 @@ class GroupConcat(Aggregate):
2727

2828
def __init__(
2929
self,
30-
expression: Expression,
30+
expression: Any,
3131
distinct: bool = False,
3232
separator: str | None = None,
3333
ordering: str | None = None,

0 commit comments

Comments
 (0)