Update stubs

This commit is contained in:
Trinh Anh Ngoc
2021-11-02 09:28:22 +07:00
parent 09c35ab01c
commit f1dac7c0e3

View File

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