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
|
||||
_validators: Any
|
||||
_relaxng_cache: Any
|
||||
READONLY: Any
|
||||
from lxml.etree import RelaxNG, _Element
|
||||
|
||||
def _get_attrs_symbols(): ...
|
||||
def get_variable_names(expr): ...
|
||||
def get_dict_asts(expr): ...
|
||||
def _check(condition, explanation) -> None: ...
|
||||
def get_domain_identifiers(expr): ...
|
||||
def valid_view(arch, **kwargs): ...
|
||||
def validate(*view_types): ...
|
||||
def relaxng(view_type): ...
|
||||
def schema_valid(arch, **kwargs): ...
|
||||
_CallableT = TypeVar('_CallableT', bound=Callable)
|
||||
|
||||
_validators: defaultdict[str, list[Callable]]
|
||||
_relaxng_cache: dict[str, RelaxNG | None]
|
||||
READONLY: Pattern
|
||||
|
||||
def _get_attrs_symbols() -> set[str]: ...
|
||||
def get_variable_names(expr: str | _expr) -> set[str]: ...
|
||||
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