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:
@@ -2,5 +2,6 @@ from . import (
|
|||||||
common as common,
|
common as common,
|
||||||
db as db,
|
db as db,
|
||||||
model as model,
|
model as model,
|
||||||
server as server
|
server as server,
|
||||||
|
wsgi_server as wsgi_server
|
||||||
)
|
)
|
||||||
|
|||||||
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): ...
|
||||||
@@ -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