Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 20:56:31 +07:00
parent dcecabac1d
commit bdc51a2dce

View File

@@ -219,6 +219,15 @@ class BaseModel(metaclass=MetaModel):
order: str | None = ...,
count: Literal[True] = ...,
) -> int: ...
@overload
def search(
self: _ModelT,
args: list,
offset: int = ...,
limit: int | None = ...,
order: str | None = ...,
count: bool = ...,
) -> int | _ModelT: ...
def _compute_display_name(self) -> None: ...
def name_get(self) -> list[tuple[int, str]]: ...
def name_create(self, name: str) -> tuple[int, str]: ...