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
odoo-stubs/service/wsgi_server.pyi
Normal file
1
odoo-stubs/service/wsgi_server.pyi
Normal file
@@ -0,0 +1 @@
|
|||||||
|
def application(environ, start_response): ...
|
||||||
@@ -5,6 +5,7 @@ def transpile_javascript(url: str, content: str) -> str: ...
|
|||||||
URL_RE: Pattern
|
URL_RE: Pattern
|
||||||
|
|
||||||
def url_to_module_path(url: str) -> str: ...
|
def url_to_module_path(url: str) -> str: ...
|
||||||
|
def wrap_with_qunit_module(url: str, content: str) -> str: ...
|
||||||
def wrap_with_odoo_define(module_path: str, content: str) -> str: ...
|
def wrap_with_odoo_define(module_path: str, content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_FCT_RE: Pattern
|
EXPORT_FCT_RE: Pattern
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ def add_foreign_key(cr: Cursor, tablename1: str, columnname1: str, tablename2: s
|
|||||||
def get_foreign_keys(cr: Cursor, tablename1: str, columnname1: str, tablename2: str, columnname2: str, ondelete) -> list[str]: ...
|
def get_foreign_keys(cr: Cursor, tablename1: str, columnname1: str, tablename2: str, columnname2: str, ondelete) -> list[str]: ...
|
||||||
def fix_foreign_key(cr: Cursor, tablename1: str, columnname1: str, tablename2: str, columnname2: str, ondelete) -> list[str]: ...
|
def fix_foreign_key(cr: Cursor, tablename1: str, columnname1: str, tablename2: str, columnname2: str, ondelete) -> list[str]: ...
|
||||||
def index_exists(cr: Cursor, indexname: str) -> int: ...
|
def index_exists(cr: Cursor, indexname: str) -> int: ...
|
||||||
|
def check_index_exist(cr: Cursor, indexname: str) -> None: ...
|
||||||
def create_index(cr: Cursor, indexname: str, tablename: str, expressions: Iterable[str], method: str = ..., where: str = ...) -> None: ...
|
def create_index(cr: Cursor, indexname: str, tablename: str, expressions: Iterable[str], method: str = ..., where: str = ...) -> None: ...
|
||||||
def create_unique_index(cr: Cursor, indexname: str, tablename: str, expressions: Iterable[str]) -> None: ...
|
def create_unique_index(cr: Cursor, indexname: str, tablename: str, expressions: Iterable[str]) -> None: ...
|
||||||
def drop_index(cr: Cursor, indexname: str, tablename: str) -> None: ...
|
def drop_index(cr: Cursor, indexname: str, tablename: str) -> None: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user