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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -1,5 +0,0 @@
|
||||
from . import Command
|
||||
from typing import Any
|
||||
|
||||
class Cloc(Command):
|
||||
def run(self, args: Any) -> None: ...
|
||||
@@ -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: ...
|
||||
@@ -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: ...
|
||||
@@ -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: ...
|
||||
@@ -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: ...
|
||||
@@ -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): ...
|
||||
@@ -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: ...
|
||||
@@ -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
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
def nl_langinfo(param) -> str: ...
|
||||
@@ -1,3 +0,0 @@
|
||||
from typing import Any
|
||||
|
||||
__path__: Any
|
||||
Reference in New Issue
Block a user