This commit is contained in:
Trinh Anh Ngoc
2023-05-18 18:26:26 +07:00
parent f8fb2fe465
commit 2470e81401
12 changed files with 2 additions and 110 deletions

View File

@@ -3,7 +3,6 @@ from psycopg2 import connection
from . import (
addons as addons,
api as api,
cli as cli,
conf as conf,
fields as fields,
http as http,
@@ -14,8 +13,7 @@ from . import (
release as release,
service as service,
sql_db as sql_db,
tools as tools,
upgrade as upgrade
tools as tools
)
from .api import Registry
from .tools.translate import _ as _, _lt as _lt

View File

@@ -1,2 +0,0 @@
from . import cloc as cloc, 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,5 +0,0 @@
from . import Command
from typing import Any
class Cloc(Command):
def run(self, args: Any) -> None: ...

View File

@@ -1,13 +0,0 @@
from typing import Any
commands: Any
class CommandType(type):
def __init__(cls, name: Any, bases: Any, attrs: Any) -> None: ...
Command: Any
class Help(Command):
def run(self, args: Any) -> None: ...
def main() -> None: ...

View File

@@ -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: Any, url: Any, login: Any, password: Any, db: str = ..., force: bool = ...): ...
def login_upload_module(self, module_file: Any, url: Any, login: Any, password: Any, db: Any, force: bool = ...): ...
def zip_module(self, path: Any): ...
def run(self, cmdargs: Any) -> None: ...

View File

@@ -1,25 +0,0 @@
from . import Command
from typing import Any, Optional
class Scaffold(Command):
def run(self, cmdargs: Any) -> None: ...
def epilog(self): ...
builtins: Any
def snake(s: Any): ...
def pascal(s: Any): ...
def directory(p: Any, create: bool = ...): ...
env: Any
class template:
id: Any = ...
path: Any = ...
def __init__(self, identifier: Any) -> None: ...
def __str__(self): ...
def files(self) -> None: ...
def render_to(self, modname: Any, directory: Any, params: Optional[Any] = ...) -> None: ...
def die(message: Any, code: int = ...) -> None: ...
def warn(message: Any) -> 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: Any) -> None: ...
def setup_pid_file() -> None: ...
def export_translation() -> None: ...
def import_translation() -> None: ...
def main(args: Any) -> None: ...
class Server(Command):
def run(self, args: Any) -> None: ...

View File

@@ -1,21 +0,0 @@
import code
from . import Command
from typing import Any, Optional
_logger: Any
def raise_keyboard_interrupt(*a: Any) -> None: ...
class Console(code.InteractiveConsole):
def __init__(self, locals: Optional[Any] = ..., filename: str = ...) -> None: ...
class Shell(Command):
supported_shells: Any = ...
def init(self, args: Any) -> None: ...
def console(self, local_vars: Any): ...
def ipython(self, local_vars: Any) -> None: ...
def ptpython(self, local_vars: Any) -> None: ...
def bpython(self, local_vars: Any) -> None: ...
def python(self, local_vars: Any) -> None: ...
def shell(self, dbname: Any) -> None: ...
def run(self, args: Any): ...

View File

@@ -1,8 +0,0 @@
from . import Command
from typing import Any
class Start(Command):
def get_module_list(self, path: Any): ...
def run(self, cmdargs: Any): ...
def die(message: Any, code: int = ...) -> None: ...

View File

@@ -10,6 +10,6 @@ from .xml_utils import *
from .date_utils import *
from .convert import *
from .template_inheritance import *
from . import appdirs as appdirs, cloc as cloc, pdf as pdf, pycompat as pycompat, win32 as win32
from . import appdirs as appdirs, cloc as cloc, 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) -> str: ...

View File

@@ -1,3 +0,0 @@
from typing import Any
__path__: Any