Update stubs

This commit is contained in:
Trinh Anh Ngoc
2021-11-02 09:29:23 +07:00
parent cd75dfed3d
commit f7d1e5f769

View File

@@ -1,6 +1,8 @@
from collections import Mapping from collections import Mapping
from typing import Any from typing import Any
from odoo.sql_db import Cursor
_logger: Any _logger: Any
class Registry(Mapping): class Registry(Mapping):
@@ -54,7 +56,7 @@ class Registry(Mapping):
def in_test_mode(self): ... def in_test_mode(self): ...
def enter_test_mode(self) -> None: ... def enter_test_mode(self) -> None: ...
def leave_test_mode(self) -> None: ... def leave_test_mode(self) -> None: ...
def cursor(self): ... def cursor(self) -> Cursor: ...
class DummyRLock: class DummyRLock:
def acquire(self) -> None: ... def acquire(self) -> None: ...