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,16 +1,22 @@
|
|||||||
from typing import Any
|
from ast import expr as _expr
|
||||||
|
from collections import defaultdict
|
||||||
|
from re import Pattern
|
||||||
|
from typing import Callable, TypeVar
|
||||||
|
|
||||||
_logger: Any
|
from lxml.etree import RelaxNG, _Element
|
||||||
_validators: Any
|
|
||||||
_relaxng_cache: Any
|
|
||||||
READONLY: Any
|
|
||||||
|
|
||||||
def _get_attrs_symbols(): ...
|
_CallableT = TypeVar('_CallableT', bound=Callable)
|
||||||
def get_variable_names(expr): ...
|
|
||||||
def get_dict_asts(expr): ...
|
_validators: defaultdict[str, list[Callable]]
|
||||||
def _check(condition, explanation) -> None: ...
|
_relaxng_cache: dict[str, RelaxNG | None]
|
||||||
def get_domain_identifiers(expr): ...
|
READONLY: Pattern
|
||||||
def valid_view(arch, **kwargs): ...
|
|
||||||
def validate(*view_types): ...
|
def _get_attrs_symbols() -> set[str]: ...
|
||||||
def relaxng(view_type): ...
|
def get_variable_names(expr: str | _expr) -> set[str]: ...
|
||||||
def schema_valid(arch, **kwargs): ...
|
def get_dict_asts(expr: str | _expr) -> dict: ...
|
||||||
|
def _check(condition: bool, explanation: str) -> None: ...
|
||||||
|
def get_domain_identifiers(expr: str | _expr) -> tuple[set[str], set[str]]: ...
|
||||||
|
def valid_view(arch: _Element, **kwargs) -> bool: ...
|
||||||
|
def validate(*view_types: str) -> Callable[[_CallableT], _CallableT]: ...
|
||||||
|
def relaxng(view_type: str) -> RelaxNG: ...
|
||||||
|
def schema_valid(arch: _Element, **kwargs) -> bool: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user