Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-08 22:33:14 +07:00
parent 456043ad27
commit 5d338c69af

View File

@@ -1,9 +1,10 @@
from typing import Any
from typing import Any, Callable
_logger: Any
from lxml.etree import _Element
def add_text_before(node, text) -> None: ...
def add_text_inside(node, text) -> None: ...
def remove_element(node) -> None: ...
def locate_node(arch, spec): ...
def apply_inheritance_specs(source, specs_tree, inherit_branding: bool = ..., pre_locate=...): ...
def add_text_before(node: _Element, text: str | None) -> None: ...
def add_text_inside(node: _Element, text: str | None) -> None: ...
def remove_element(node: _Element) -> None: ...
def locate_node(arch: _Element, spec: _Element) -> _Element: ...
def apply_inheritance_specs(source: _Element, specs_tree: _Element, inherit_branding: bool = ...,
pre_locate: Callable[[_Element], Any] = ...) -> _Element: ...