Update stubs

This commit is contained in:
Trinh Anh Ngoc
2020-11-15 19:04:07 +07:00
parent a859bd5481
commit c7950c5c1e
30 changed files with 189 additions and 80 deletions

View File

@@ -1,7 +1,11 @@
from odoo.tools.misc import file_open as file_open
from lxml import etree
from typing import Any, Optional
def check_with_xsd(tree_or_str: Any, stream: Any) -> None: ...
def _check_with_xsd(tree_or_str: Any, stream: Any) -> None: ...
class odoo_resolver(etree.Resolver):
env: Any = ...
def __init__(self, env: Any) -> None: ...
def resolve(self, url: Any, id: Any, context: Any): ...
def _check_with_xsd(tree_or_str: Any, stream: Any, env: Optional[Any] = ...) -> None: ...
def create_xml_node_chain(first_parent_node: Any, nodes_list: Any, last_node_value: Optional[Any] = ...): ...
def create_xml_node(parent_node: Any, node_name: Any, node_value: Optional[Any] = ...): ...