Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-07-19 17:31:13 +07:00
parent 810d6d3929
commit bf53ab1bc8

View File

@@ -248,9 +248,10 @@ class BaseModel(metaclass=MetaModel):
def unlink(self): ...
def write(self, vals: dict[str, Any]): ...
def _write(self, vals: dict[str, Any]): ...
def create(
self: _ModelT, vals_list: list[dict[str, Any]] | dict[str, Any]
) -> _ModelT: ...
@overload
def create(self: _ModelT, vals_list: list[dict[str, Any]]) -> _ModelT: ...
@overload
def create(self: _ModelT, vals_list: dict[str, Any]) -> _ModelT: ...
def _create(self: _ModelT, data_list: list[dict[str, Any]]) -> _ModelT: ...
def _parent_store_create(self) -> None: ...
def _parent_store_update_prepare(self, vals): ...