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:
@@ -61,7 +61,7 @@ class Environment(Mapping[str, BaseModel]):
|
|||||||
cache: Cache
|
cache: Cache
|
||||||
_cache_key: dict[Field, Any]
|
_cache_key: dict[Field, Any]
|
||||||
_protected: StackMap[Field, set[int]]
|
_protected: StackMap[Field, set[int]]
|
||||||
def __new__(cls, cr: Cursor, uid: int, context: dict, su: bool = ...) -> Environment: ...
|
def __new__(cls, cr: Cursor, uid: int | None, context: dict, su: bool = ...) -> Environment: ...
|
||||||
def __contains__(self, model_name: str) -> bool: ...
|
def __contains__(self, model_name: str) -> bool: ...
|
||||||
def __getitem__(self, model_name: str) -> BaseModel: ...
|
def __getitem__(self, model_name: str) -> BaseModel: ...
|
||||||
def __iter__(self) -> Iterator[str]: ...
|
def __iter__(self) -> Iterator[str]: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user