Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 16:40:55 +07:00
parent 1e8e80e125
commit fc3b7ab26e

View File

@@ -9,7 +9,7 @@ from ..models import BaseModel
from ..fields import Field
from ..sql_db import Connection, Cursor
from ..tests.runner import OdooTestResult
from ..tools import Collector
from ..tools import Collector, ignore as ignore
from ..tools.lru import LRU
class Registry(Mapping[str, type[BaseModel]]):
@@ -62,7 +62,9 @@ class Registry(Mapping[str, type[BaseModel]]):
@property
def field_computed(self) -> dict[Field, list[Field]]: ...
@property
def field_triggers(self) -> dict: ...
def field_triggers(self) -> dict[Field, Any]: ...
@property
def fields_modifying_relations(self) -> set[Field]: ...
def post_init(self, func: Callable, *args, **kwargs) -> None: ...
def post_constraint(self, func: Callable, *args, **kwargs) -> None: ...
def finalize_constraints(self) -> None: ...