mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 15:57:08 +08:00
enable bunch of folders
This commit is contained in:
@@ -5,6 +5,8 @@ from decimal import Decimal
|
||||
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union
|
||||
from uuid import UUID
|
||||
|
||||
from django.db.models.sql.datastructures import BaseTable
|
||||
|
||||
from django.db.models import Model, Field, Q, FilteredRelation, Expression, QuerySet
|
||||
from django.db.models.query_utils import PathInfo
|
||||
from django.db.models.sql.compiler import SQLCompiler
|
||||
@@ -28,7 +30,7 @@ class RawQuery:
|
||||
|
||||
class Query:
|
||||
base_table: str
|
||||
related_ids: None
|
||||
related_ids: Optional[List[int]]
|
||||
related_updates: Dict[Type[Model], List[Tuple[Field, None, Union[int, str]]]]
|
||||
values: List[Any]
|
||||
alias_prefix: str = ...
|
||||
@@ -36,7 +38,7 @@ class Query:
|
||||
compiler: str = ...
|
||||
model: Optional[Type[Model]] = ...
|
||||
alias_refcount: Dict[str, int] = ...
|
||||
alias_map: OrderedDict = ...
|
||||
alias_map: Dict[str, BaseTable] = ...
|
||||
external_aliases: Set[str] = ...
|
||||
table_map: Dict[str, List[str]] = ...
|
||||
default_cols: bool = ...
|
||||
|
||||
Reference in New Issue
Block a user