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:
@@ -1,4 +1,6 @@
|
|||||||
from collections import Mapping, defaultdict as defaultdict
|
from collections import Mapping, defaultdict as defaultdict
|
||||||
|
|
||||||
|
from odoo.sql_db import Cursor
|
||||||
from odoo.tools import table_exists as table_exists
|
from odoo.tools import table_exists as table_exists
|
||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
|
|
||||||
@@ -61,7 +63,7 @@ class Registry(Mapping):
|
|||||||
def in_test_mode(self): ...
|
def in_test_mode(self): ...
|
||||||
def enter_test_mode(self, cr: Any) -> None: ...
|
def enter_test_mode(self, cr: Any) -> 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: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user