This commit is contained in:
Trinh Anh Ngoc
2023-05-18 18:36:20 +07:00
parent 6c8c27fe5b
commit 71da2f0c7f
10 changed files with 2 additions and 100 deletions

View File

@@ -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 typing import Any

View File

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

View File

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

View File

@@ -1,11 +0,0 @@
from . import Command
from typing import Any, Optional
class Deploy(Command):
session: Any
def __init__(self) -> None: ...
def deploy_module(self, module_path, url, login, password, db: str = ..., force: bool = ...): ...
def upload_module(self, server, module_file, force: bool = ..., csrf_token: Optional[Any] = ...): ...
def authenticate(self, server, login, password, db: str = ...): ...
def zip_module(self, path): ...
def run(self, cmdargs) -> None: ...

View File

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

View File

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

View File

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

View File

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

View File

@@ -9,6 +9,6 @@ from .mail import *
from .func import *
from .debugger import *
from .xml_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 .graph import graph as graph

View File

@@ -1 +0,0 @@
def nl_langinfo(param): ...