Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-10-28 21:19:12 +07:00
parent f4a9304f1b
commit 3ece5b08f2

View File

@@ -169,6 +169,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): ...