Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 21:17:23 +07:00
parent 4362c17c01
commit 33fe0bca31

View File

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