Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 21:26:47 +07:00
parent 49ea3dd809
commit 22c32ec0be

View File

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