Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 21:01:23 +07:00
parent b0d40d09d6
commit b56b22c1bc

View File

@@ -213,6 +213,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]: ...