mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
from typing import Any, Optional
|
def _quote(to_quote: str) -> str: ...
|
||||||
|
|
||||||
def _quote(to_quote: Any): ...
|
|
||||||
|
|
||||||
class Query:
|
class Query:
|
||||||
tables: Any = ...
|
tables: list[str] = ...
|
||||||
where_clause: Any = ...
|
where_clause: list = ...
|
||||||
where_clause_params: Any = ...
|
where_clause_params: list = ...
|
||||||
joins: Any = ...
|
joins: dict = ...
|
||||||
extras: Any = ...
|
extras: dict = ...
|
||||||
def __init__(self, tables: Optional[Any] = ..., where_clause: Optional[Any] = ..., where_clause_params: Optional[Any] = ..., joins: Optional[Any] = ..., extras: Optional[Any] = ...) -> None: ...
|
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): ...
|
def _get_table_aliases(self) -> list: ...
|
||||||
def _get_alias_mapping(self): ...
|
def _get_alias_mapping(self) -> dict: ...
|
||||||
def add_join(self, connection: Any, implicit: bool = ..., outer: bool = ..., extra: Optional[Any] = ..., extra_params: Any = ...): ...
|
def add_join(self, connection: tuple, implicit: bool = ..., outer: bool = ..., extra: str | None = ..., extra_params: list = ...): ...
|
||||||
def get_sql(self): ...
|
def get_sql(self) -> str: ...
|
||||||
def __str__(self): ...
|
def __str__(self) -> str: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user