mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
from typing import Any, Literal, MutableSequence
|
from typing import Any, Literal, MutableSequence
|
||||||
|
|
||||||
|
from ..tools import pycompat as pycompat
|
||||||
|
|
||||||
MANIFEST_NAMES: tuple[str, ...]
|
MANIFEST_NAMES: tuple[str, ...]
|
||||||
README: list[str]
|
README: list[str]
|
||||||
|
_DEFAULT_MANIFEST: dict[str, Any]
|
||||||
|
|
||||||
def ad_paths() -> MutableSequence[str]: ...
|
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_resource_from_path(path: str) -> tuple[str, str, str] | None: ...
|
||||||
def get_module_icon(module: str) -> str: ...
|
def get_module_icon(module: str) -> str: ...
|
||||||
def module_manifest(path: str) -> str | None: ...
|
def module_manifest(path: str) -> str | None: ...
|
||||||
def read_manifest(addons_path: str, module: str): ...
|
|
||||||
def get_module_root(path: str) -> str | None: ...
|
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_information_from_description_file(module: str, mod_path: str | None = ...) -> dict: ...
|
||||||
def load_openerp_module(module_name: str) -> None: ...
|
def load_openerp_module(module_name: str) -> None: ...
|
||||||
def get_modules() -> list[str]: ...
|
def get_modules() -> list[str]: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user