enable bunch of folders

This commit is contained in:
Maxim Kurnikov
2019-01-30 21:01:33 +03:00
parent bb2d107e38
commit b1153204d7
22 changed files with 338 additions and 75 deletions

View File

@@ -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 = ...