Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-05-24 21:29:04 +07:00
parent 32f840613a
commit 62418a2375
7 changed files with 17 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
from typing import IO, Callable, Iterable, Literal, Union
from typing import Callable, Iterable, Literal
from lxml import etree
from lxml.etree import _Element
@@ -36,7 +36,7 @@ def load_xsd_files_from_url(
xsd_name_prefix: str = ...,
xsd_names_filter: str | list[str] | None = ...,
modify_xsd_content: Callable[[bytes], bytes] | None = ...,
) -> "Union[IrAttachment, Literal[False]]": ...
) -> IrAttachment | Literal[False]: ...
def validate_xml_from_attachment(
env: Environment,
xml_content,