We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83960c2 commit 41cce4fCopy full SHA for 41cce4f
ext/django_stubs_ext/aliases.py
@@ -5,14 +5,16 @@
5
from django.utils.functional import _StrOrPromise as StrOrPromise
6
from django.utils.functional import _StrPromise as StrPromise
7
8
+ # Obsolete type aliases. Use the QuerySet class directly instead.
9
QuerySetAny = _QuerySetAny
10
ValuesQuerySet = _QuerySet[_T, _Row]
11
else:
12
from django.db.models.query import QuerySet
13
from django.utils.functional import Promise as StrPromise
14
15
+ StrOrPromise = typing.Union[str, StrPromise]
16
17
QuerySetAny = QuerySet
18
ValuesQuerySet = QuerySet
- StrOrPromise = typing.Union[str, StrPromise]
19
20
__all__ = ["StrOrPromise", "StrPromise", "QuerySetAny", "ValuesQuerySet"]
0 commit comments