Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-11-19 22:51:18 +07:00
parent 94e0fd96c5
commit 5b7e1e1e24

View File

@@ -1,16 +1,14 @@
from typing import Any, Optional
def _quote(to_quote: Any): ...
def _quote(to_quote: str) -> str: ...
class Query:
tables: Any = ...
where_clause: Any = ...
where_clause_params: Any = ...
joins: Any = ...
extras: Any = ...
def __init__(self, tables: Optional[Any] = ..., where_clause: Optional[Any] = ..., where_clause_params: Optional[Any] = ..., joins: Optional[Any] = ..., extras: Optional[Any] = ...) -> None: ...
def _get_table_aliases(self): ...
def _get_alias_mapping(self): ...
def add_join(self, connection: Any, implicit: bool = ..., outer: bool = ..., extra: Optional[Any] = ..., extra_params: Any = ...): ...
def get_sql(self): ...
def __str__(self): ...
tables: list[str] = ...
where_clause: list = ...
where_clause_params: list = ...
joins: dict = ...
extras: dict = ...
def __init__(self, tables: list[str] | None = ..., where_clause: list | None = ..., where_clause_params: list | None = ..., joins: dict | None = ..., extras: dict | None = ...) -> None: ...
def _get_table_aliases(self) -> list: ...
def _get_alias_mapping(self) -> dict: ...
def add_join(self, connection: tuple, implicit: bool = ..., outer: bool = ..., extra: str | None = ..., extra_params: list = ...): ...
def get_sql(self) -> str: ...
def __str__(self) -> str: ...