mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -24,6 +24,7 @@ Default: object
|
||||
|
||||
def first(records: _ModelT) -> _ModelT: ...
|
||||
def resolve_mro(model: BaseModel, name: str, predicate: Callable[..., bool]): ...
|
||||
def determine(needle: str | Callable, records: BaseModel, *args): ...
|
||||
|
||||
class MetaField(type):
|
||||
by_type: dict
|
||||
@@ -77,7 +78,6 @@ class Field(metaclass=MetaField):
|
||||
related_attrs: list[tuple[str, str]]
|
||||
description_attrs: list[tuple[str, str]]
|
||||
def __init__(self, string: str = ..., **kwargs) -> None: ...
|
||||
def new(self, **kwargs): ...
|
||||
def __str__(self) -> str: ...
|
||||
def __repr__(self) -> str: ...
|
||||
def setup_base(self, model: BaseModel, name: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user