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: 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: ...
|
||||
|
||||
Reference in New Issue
Block a user