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:
@@ -389,8 +389,29 @@ class BaseModel(metaclass=MetaModel):
|
||||
order: str | None = ...,
|
||||
seen: set | None = ...,
|
||||
) -> None: ...
|
||||
@overload
|
||||
def _search(
|
||||
self: _ModelT,
|
||||
self,
|
||||
args: list,
|
||||
offset: int = ...,
|
||||
limit: int | None = ...,
|
||||
order: str | None = ...,
|
||||
count: Literal[False] = ...,
|
||||
access_rights_uid: int | None = ...,
|
||||
) -> Query: ...
|
||||
@overload
|
||||
def _search(
|
||||
self,
|
||||
args: list,
|
||||
offset: int = ...,
|
||||
limit: int | None = ...,
|
||||
order: str | None = ...,
|
||||
count: Literal[True] = ...,
|
||||
access_rights_uid: int | None = ...,
|
||||
) -> int: ...
|
||||
@overload
|
||||
def _search(
|
||||
self,
|
||||
args: list,
|
||||
offset: int = ...,
|
||||
limit: int | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user