Update stubs for api.Environment

Fix #7
This commit is contained in:
Trinh Anh Ngoc
2021-10-27 17:21:48 +07:00
parent c4304cb763
commit cd75dfed3d

View File

@@ -1,6 +1,8 @@
from collections import Mapping
from typing import Any
from odoo.sql_db import Cursor
__all__: Any
_logger: Any
WRAPPED_ATTRS: Any
@@ -50,6 +52,9 @@ def call_kw(model, name, args, kwargs): ...
class Environment(Mapping):
_local: Any
cr: Cursor = ...
uid: int = ...
context: dict = ...
@classmethod
@property
def envs(cls) -> Environments: ...