Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-11-26 10:02:38 +07:00
parent 8fe8dc00ae
commit 0f2b5a646c
3 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
def application(environ, start_response): ...

View File

@@ -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

View File

@@ -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: ...