Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 16:36:11 +07:00
parent 3dbee966fe
commit 1e8e80e125

View File

@@ -1,8 +1,11 @@
from types import ModuleType
from typing import Any, Literal, MutableSequence
from ..tools import pycompat as pycompat
MANIFEST_NAMES: tuple[str, ...]
README: list[str]
_DEFAULT_MANIFEST: dict[str, Any]
def ad_paths() -> MutableSequence[str]: ...
@@ -30,8 +33,9 @@ get_module_resource = get_resource_path
def get_resource_from_path(path: str) -> tuple[str, str, str] | None: ...
def get_module_icon(module: str) -> str: ...
def module_manifest(path: str) -> str | None: ...
def read_manifest(addons_path: str, module: str): ...
def get_module_root(path: str) -> str | None: ...
def load_manifest(module: str, mod_path: str | None = ...) -> dict[str, Any]: ...
def get_manifest(module: str, mod_path: str | None = ...) -> dict[str, Any]: ...
def load_information_from_description_file(module: str, mod_path: str | None = ...) -> dict: ...
def load_openerp_module(module_name: str) -> None: ...
def get_modules() -> list[str]: ...