mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from . import addons as addons, api as api, cli as cli, conf as conf, fields as fields, http as http, loglevels as loglevels, models as models, netsvc as netsvc, osv as osv, release as release, service as service, sql_db as sql_db, tools as tools
|
from . import addons as addons, api as api, conf as conf, fields as fields, http as http, loglevels as loglevels, models as models, netsvc as netsvc, osv as osv, release as release, service as service, sql_db as sql_db, tools as tools
|
||||||
from .tools.translate import _ as _
|
from .tools.translate import _ as _
|
||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
from . import deploy as deploy, scaffold as scaffold, server as server, shell as shell, start as start
|
|
||||||
from .command import Command as Command, main as main
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
from typing import Any
|
|
||||||
|
|
||||||
commands: Any
|
|
||||||
|
|
||||||
class CommandType(type):
|
|
||||||
def __init__(cls, name, bases, attrs) -> None: ...
|
|
||||||
|
|
||||||
Command: Any
|
|
||||||
|
|
||||||
class Help(Command):
|
|
||||||
def run(self, args) -> None: ...
|
|
||||||
|
|
||||||
def main() -> None: ...
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
from . import Command
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
class Deploy(Command):
|
|
||||||
session: Any
|
|
||||||
def __init__(self) -> None: ...
|
|
||||||
def deploy_module(self, module_path, url, login, password, db: str = ..., force: bool = ...): ...
|
|
||||||
def login_upload_module(self, module_file, url, login, password, db, force: bool = ...): ...
|
|
||||||
def zip_module(self, path): ...
|
|
||||||
def run(self, cmdargs) -> None: ...
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
from . import Command
|
|
||||||
from typing import Any, Optional
|
|
||||||
|
|
||||||
class Scaffold(Command):
|
|
||||||
def run(self, cmdargs) -> None: ...
|
|
||||||
def epilog(self): ...
|
|
||||||
|
|
||||||
builtins: Any
|
|
||||||
|
|
||||||
def snake(s): ...
|
|
||||||
def pascal(s): ...
|
|
||||||
def directory(p, create: bool = ...): ...
|
|
||||||
|
|
||||||
env: Any
|
|
||||||
|
|
||||||
class template:
|
|
||||||
id: Any
|
|
||||||
path: Any
|
|
||||||
def __init__(self, identifier) -> None: ...
|
|
||||||
def __str__(self): ...
|
|
||||||
def files(self) -> None: ...
|
|
||||||
def render_to(self, modname, directory, params: Optional[Any] = ...) -> None: ...
|
|
||||||
|
|
||||||
def die(message, code: int = ...) -> None: ...
|
|
||||||
def warn(message) -> None: ...
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
from . import Command
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
__author__: Any
|
|
||||||
__version__: Any
|
|
||||||
_logger: Any
|
|
||||||
|
|
||||||
def check_root_user() -> None: ...
|
|
||||||
def check_postgres_user() -> None: ...
|
|
||||||
def report_configuration() -> None: ...
|
|
||||||
def rm_pid_file(main_pid) -> None: ...
|
|
||||||
def setup_pid_file() -> None: ...
|
|
||||||
def export_translation() -> None: ...
|
|
||||||
def import_translation() -> None: ...
|
|
||||||
def main(args) -> None: ...
|
|
||||||
|
|
||||||
class Server(Command):
|
|
||||||
def run(self, args) -> None: ...
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
import code
|
|
||||||
from . import Command
|
|
||||||
from typing import Any, Optional
|
|
||||||
|
|
||||||
_logger: Any
|
|
||||||
|
|
||||||
def raise_keyboard_interrupt(*a) -> None: ...
|
|
||||||
|
|
||||||
class Console(code.InteractiveConsole):
|
|
||||||
def __init__(self, locals: Optional[Any] = ..., filename: str = ...) -> None: ...
|
|
||||||
|
|
||||||
class Shell(Command):
|
|
||||||
supported_shells: Any
|
|
||||||
def init(self, args) -> None: ...
|
|
||||||
def console(self, local_vars): ...
|
|
||||||
def ipython(self, local_vars) -> None: ...
|
|
||||||
def ptpython(self, local_vars) -> None: ...
|
|
||||||
def bpython(self, local_vars) -> None: ...
|
|
||||||
def python(self, local_vars) -> None: ...
|
|
||||||
def shell(self, dbname) -> None: ...
|
|
||||||
def run(self, args): ...
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
from . import Command
|
|
||||||
|
|
||||||
class Start(Command):
|
|
||||||
def get_module_list(self, path): ...
|
|
||||||
def run(self, cmdargs): ...
|
|
||||||
|
|
||||||
def die(message, code: int = ...) -> None: ...
|
|
||||||
@@ -9,6 +9,6 @@ from .func import *
|
|||||||
from .debugger import *
|
from .debugger import *
|
||||||
from .xml_utils import *
|
from .xml_utils import *
|
||||||
from .date_utils import *
|
from .date_utils import *
|
||||||
from . import appdirs as appdirs, pdf as pdf, pycompat as pycompat, win32 as win32
|
from . import appdirs as appdirs, pdf as pdf, pycompat as pycompat
|
||||||
from .config import config as config
|
from .config import config as config
|
||||||
from .graph import graph as graph
|
from .graph import graph as graph
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
def nl_langinfo(param): ...
|
|
||||||
Reference in New Issue
Block a user