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,8 +1,11 @@
|
||||
from re import Pattern
|
||||
from types import ModuleType
|
||||
|
||||
from .graph import Graph, Node
|
||||
from ..sql_db import Cursor
|
||||
|
||||
VERSION_RE: Pattern
|
||||
|
||||
def load_script(path: str, module_name: str) -> ModuleType: ...
|
||||
|
||||
class MigrationManager:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from argparse import Namespace
|
||||
from argparse import Action, Namespace
|
||||
|
||||
BLACKLIST: set[str]
|
||||
IGNORE: tuple[str, ...]
|
||||
@@ -8,6 +8,13 @@ def install(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def uninstall(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def cycle(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def parse_args() -> Namespace: ...
|
||||
def test_full(args: Namespace) -> None: ...
|
||||
|
||||
class UninstallAction(Action):
|
||||
def __call__(self, parser, namespace, values, option_string = ...) -> None: ...
|
||||
|
||||
class StandaloneAction(Action):
|
||||
def __call__(self, parser, namespace, values, option_string = ...) -> None: ...
|
||||
|
||||
def test_cycle(args: Namespace) -> None: ...
|
||||
def test_uninstall(args: Namespace) -> None: ...
|
||||
def test_scripts(args: Namespace) -> None: ...
|
||||
def test_standalone(args: Namespace) -> None: ...
|
||||
|
||||
@@ -6,6 +6,7 @@ VERSION: int
|
||||
DEFAULT_EXCLUDE: list[str]
|
||||
STANDARD_MODULES: list[str]
|
||||
MAX_FILE_SIZE: int
|
||||
MAX_LINE_SIZE: int
|
||||
VALID_EXTENSION: list[str]
|
||||
|
||||
class Cloc:
|
||||
|
||||
Reference in New Issue
Block a user