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:
@@ -74,7 +74,7 @@ class Environment(Mapping[str, BaseModel]):
|
|||||||
def __new__(
|
def __new__(
|
||||||
cls, cr: Cursor, uid: int | None, context: dict, su: bool = ...
|
cls, cr: Cursor, uid: int | None, context: dict, su: bool = ...
|
||||||
) -> Environment: ...
|
) -> Environment: ...
|
||||||
def __contains__(self, model_name: str) -> bool: ...
|
def __contains__(self, model_name) -> 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]: ...
|
||||||
def __len__(self) -> int: ...
|
def __len__(self) -> int: ...
|
||||||
|
|||||||
@@ -293,6 +293,8 @@ class Unpickler(pickle_.Unpickler):
|
|||||||
|
|
||||||
pickle: ModuleType
|
pickle: ModuleType
|
||||||
|
|
||||||
|
class ReadonlyDict(Mapping): ...
|
||||||
|
|
||||||
class DotDict(dict):
|
class DotDict(dict):
|
||||||
def __getattr__(self, attrib): ...
|
def __getattr__(self, attrib): ...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user