aas_core3_2.xmlization
Read and write model instances as XML.
For reading, we provide different reading functions, each handling a different kind of input. All the reading functions operate in one pass, i.e., the source is read incrementally and the complete XML is not held in memory.
We provide the following four reading functions (where X represents the name of
the class):
X_from_iterparsereads from a stream of(event, element)tuples coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]. If you do not trust the source, please consider using defusedxml.ElementTree.X_from_streamreads from the given text stream.X_from_filereads from a file on disk.X_from_strreads from the given string.
The functions X_from_stream, X_from_file and X_from_str provide
an extra parameter, has_iterparse, which allows you to use a parsing library
different from xml.etree.ElementTree. For example, you can pass in
defusedxml.ElementTree.
All XML elements are expected to live in the NAMESPACE. The elements of
the XML-RPC subset, over which a JSON-able value is de/serialized, are the one
exception: they live in no namespace at all.
For writing, use the function aas_core3_2.xmlization.write() which
translates the instance of the model into an XML document and writes it in one pass
to the stream.
The writing raises a SerializationException if it can not serialize
the instance, be it because the stream failed or because a value could not be
written. The path of the exception points to the culprit as a Python access
expression, e.g., .submodels[0].id, so that you can find it in the instance
which you handed over.
Here is an example usage how to de-serialize from a file:
import pathlib
import xml.etree.ElementTree as ET
import aas_core3_2.xmlization as our_xmlization
path = pathlib.Path(...)
instance = our_xmlization.read_extension_from_file(
path
)
# Do something with the ``instance``
Here is another code example where we serialize the instance:
import pathlib
import aas_core3_2.types as our_types
import aas_core3_2.xmlization as our_xmlization
instance = Extension(
... # some constructor arguments
)
pth = pathlib.Path(...)
with pth.open("wt") as fid:
our_xmlization.write(instance, fid)
- aas_core3_2.xmlization.NAMESPACE = 'https://admin-shell.io/aas/3/2'
XML namespace in which all the elements are expected to reside
- aas_core3_2.xmlization.has_semantics_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HasSemantics[source]
Read an instance of
types.HasSemanticsfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.has_semantics_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasSemanticsread fromiterator
- aas_core3_2.xmlization.has_semantics_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasSemantics[source]
Read an instance of
types.HasSemanticsfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.has_semantics_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HasSemanticsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasSemanticsread fromstream
- aas_core3_2.xmlization.has_semantics_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasSemantics[source]
Read an instance of
types.HasSemanticsfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.has_semantics_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HasSemanticsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasSemanticsread frompath
- aas_core3_2.xmlization.has_semantics_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasSemantics[source]
Read an instance of
types.HasSemanticsfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.has_semantics_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HasSemanticsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasSemanticsread fromtext
- aas_core3_2.xmlization.extension_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Extension[source]
Read an instance of
types.Extensionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.extension_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Extensionread fromiterator
- aas_core3_2.xmlization.extension_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Extension[source]
Read an instance of
types.Extensionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.extension_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Extensionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Extensionread fromstream
- aas_core3_2.xmlization.extension_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Extension[source]
Read an instance of
types.Extensionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.extension_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Extensionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Extensionread frompath
- aas_core3_2.xmlization.extension_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Extension[source]
Read an instance of
types.Extensionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.extension_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Extensionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Extensionread fromtext
- aas_core3_2.xmlization.has_extensions_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HasExtensions[source]
Read an instance of
types.HasExtensionsfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.has_extensions_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasExtensionsread fromiterator
- aas_core3_2.xmlization.has_extensions_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasExtensions[source]
Read an instance of
types.HasExtensionsfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.has_extensions_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HasExtensionsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasExtensionsread fromstream
- aas_core3_2.xmlization.has_extensions_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasExtensions[source]
Read an instance of
types.HasExtensionsfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.has_extensions_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HasExtensionsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasExtensionsread frompath
- aas_core3_2.xmlization.has_extensions_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasExtensions[source]
Read an instance of
types.HasExtensionsfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.has_extensions_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HasExtensionsin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasExtensionsread fromtext
- aas_core3_2.xmlization.referable_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Referable[source]
Read an instance of
types.Referablefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.referable_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referableread fromiterator
- aas_core3_2.xmlization.referable_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Referable[source]
Read an instance of
types.Referablefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.referable_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Referablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referableread fromstream
- aas_core3_2.xmlization.referable_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Referable[source]
Read an instance of
types.Referablefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.referable_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Referablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referableread frompath
- aas_core3_2.xmlization.referable_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Referable[source]
Read an instance of
types.Referablefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.referable_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Referablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referableread fromtext
- aas_core3_2.xmlization.identifiable_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Identifiable[source]
Read an instance of
types.Identifiablefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.identifiable_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Identifiableread fromiterator
- aas_core3_2.xmlization.identifiable_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Identifiable[source]
Read an instance of
types.Identifiablefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.identifiable_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Identifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Identifiableread fromstream
- aas_core3_2.xmlization.identifiable_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Identifiable[source]
Read an instance of
types.Identifiablefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.identifiable_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Identifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Identifiableread frompath
- aas_core3_2.xmlization.identifiable_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Identifiable[source]
Read an instance of
types.Identifiablefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.identifiable_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Identifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Identifiableread fromtext
- aas_core3_2.xmlization.has_kind_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HasKind[source]
Read an instance of
types.HasKindfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.has_kind_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasKindread fromiterator
- aas_core3_2.xmlization.has_kind_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasKind[source]
Read an instance of
types.HasKindfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.has_kind_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HasKindin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasKindread fromstream
- aas_core3_2.xmlization.has_kind_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasKind[source]
Read an instance of
types.HasKindfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.has_kind_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HasKindin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasKindread frompath
- aas_core3_2.xmlization.has_kind_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasKind[source]
Read an instance of
types.HasKindfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.has_kind_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HasKindin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasKindread fromtext
- aas_core3_2.xmlization.has_data_specification_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HasDataSpecification[source]
Read an instance of
types.HasDataSpecificationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.has_data_specification_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasDataSpecificationread fromiterator
- aas_core3_2.xmlization.has_data_specification_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasDataSpecification[source]
Read an instance of
types.HasDataSpecificationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.has_data_specification_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HasDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasDataSpecificationread fromstream
- aas_core3_2.xmlization.has_data_specification_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasDataSpecification[source]
Read an instance of
types.HasDataSpecificationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.has_data_specification_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HasDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasDataSpecificationread frompath
- aas_core3_2.xmlization.has_data_specification_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HasDataSpecification[source]
Read an instance of
types.HasDataSpecificationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.has_data_specification_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HasDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HasDataSpecificationread fromtext
- aas_core3_2.xmlization.administrative_information_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AdministrativeInformation[source]
Read an instance of
types.AdministrativeInformationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.administrative_information_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AdministrativeInformationread fromiterator
- aas_core3_2.xmlization.administrative_information_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AdministrativeInformation[source]
Read an instance of
types.AdministrativeInformationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.administrative_information_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AdministrativeInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AdministrativeInformationread fromstream
- aas_core3_2.xmlization.administrative_information_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AdministrativeInformation[source]
Read an instance of
types.AdministrativeInformationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.administrative_information_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AdministrativeInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AdministrativeInformationread frompath
- aas_core3_2.xmlization.administrative_information_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AdministrativeInformation[source]
Read an instance of
types.AdministrativeInformationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.administrative_information_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AdministrativeInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AdministrativeInformationread fromtext
- aas_core3_2.xmlization.qualifiable_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Qualifiable[source]
Read an instance of
types.Qualifiablefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.qualifiable_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifiableread fromiterator
- aas_core3_2.xmlization.qualifiable_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifiable[source]
Read an instance of
types.Qualifiablefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.qualifiable_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Qualifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifiableread fromstream
- aas_core3_2.xmlization.qualifiable_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifiable[source]
Read an instance of
types.Qualifiablefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.qualifiable_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Qualifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifiableread frompath
- aas_core3_2.xmlization.qualifiable_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifiable[source]
Read an instance of
types.Qualifiablefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.qualifiable_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Qualifiablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifiableread fromtext
- aas_core3_2.xmlization.qualifier_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Qualifier[source]
Read an instance of
types.Qualifierfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.qualifier_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifierread fromiterator
- aas_core3_2.xmlization.qualifier_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifier[source]
Read an instance of
types.Qualifierfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.qualifier_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Qualifierin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifierread fromstream
- aas_core3_2.xmlization.qualifier_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifier[source]
Read an instance of
types.Qualifierfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.qualifier_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Qualifierin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifierread frompath
- aas_core3_2.xmlization.qualifier_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Qualifier[source]
Read an instance of
types.Qualifierfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.qualifier_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Qualifierin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Qualifierread fromtext
- aas_core3_2.xmlization.asset_administration_shell_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetAdministrationShell[source]
Read an instance of
types.AssetAdministrationShellfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_administration_shell_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellread fromiterator
- aas_core3_2.xmlization.asset_administration_shell_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShell[source]
Read an instance of
types.AssetAdministrationShellfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_administration_shell_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetAdministrationShellin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellread fromstream
- aas_core3_2.xmlization.asset_administration_shell_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShell[source]
Read an instance of
types.AssetAdministrationShellfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_administration_shell_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetAdministrationShellin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellread frompath
- aas_core3_2.xmlization.asset_administration_shell_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShell[source]
Read an instance of
types.AssetAdministrationShellfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_administration_shell_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetAdministrationShellin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellread fromtext
- aas_core3_2.xmlization.asset_information_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetInformation[source]
Read an instance of
types.AssetInformationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_information_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetInformationread fromiterator
- aas_core3_2.xmlization.asset_information_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetInformation[source]
Read an instance of
types.AssetInformationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_information_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetInformationread fromstream
- aas_core3_2.xmlization.asset_information_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetInformation[source]
Read an instance of
types.AssetInformationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_information_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetInformationread frompath
- aas_core3_2.xmlization.asset_information_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetInformation[source]
Read an instance of
types.AssetInformationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_information_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetInformationread fromtext
- aas_core3_2.xmlization.resource_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Resource[source]
Read an instance of
types.Resourcefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.resource_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resourceread fromiterator
- aas_core3_2.xmlization.resource_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Resource[source]
Read an instance of
types.Resourcefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.resource_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Resourcein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resourceread fromstream
- aas_core3_2.xmlization.resource_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Resource[source]
Read an instance of
types.Resourcefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.resource_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Resourcein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resourceread frompath
- aas_core3_2.xmlization.resource_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Resource[source]
Read an instance of
types.Resourcefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.resource_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Resourcein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resourceread fromtext
- aas_core3_2.xmlization.specific_asset_id_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SpecificAssetID[source]
Read an instance of
types.SpecificAssetIDfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.specific_asset_id_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SpecificAssetIDread fromiterator
- aas_core3_2.xmlization.specific_asset_id_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SpecificAssetID[source]
Read an instance of
types.SpecificAssetIDfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.specific_asset_id_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SpecificAssetIDin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SpecificAssetIDread fromstream
- aas_core3_2.xmlization.specific_asset_id_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SpecificAssetID[source]
Read an instance of
types.SpecificAssetIDfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.specific_asset_id_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SpecificAssetIDin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SpecificAssetIDread frompath
- aas_core3_2.xmlization.specific_asset_id_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SpecificAssetID[source]
Read an instance of
types.SpecificAssetIDfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.specific_asset_id_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SpecificAssetIDin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SpecificAssetIDread fromtext
- aas_core3_2.xmlization.submodel_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Submodel[source]
Read an instance of
types.Submodelfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Submodelread fromiterator
- aas_core3_2.xmlization.submodel_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Submodel[source]
Read an instance of
types.Submodelfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Submodelin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Submodelread fromstream
- aas_core3_2.xmlization.submodel_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Submodel[source]
Read an instance of
types.Submodelfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Submodelin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Submodelread frompath
- aas_core3_2.xmlization.submodel_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Submodel[source]
Read an instance of
types.Submodelfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Submodelin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Submodelread fromtext
- aas_core3_2.xmlization.submodel_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElement[source]
Read an instance of
types.SubmodelElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementread fromiterator
- aas_core3_2.xmlization.submodel_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElement[source]
Read an instance of
types.SubmodelElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementread fromstream
- aas_core3_2.xmlization.submodel_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElement[source]
Read an instance of
types.SubmodelElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementread frompath
- aas_core3_2.xmlization.submodel_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElement[source]
Read an instance of
types.SubmodelElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementread fromtext
- aas_core3_2.xmlization.relationship_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RelationshipElement[source]
Read an instance of
types.RelationshipElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.relationship_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementread fromiterator
- aas_core3_2.xmlization.relationship_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElement[source]
Read an instance of
types.RelationshipElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.relationship_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementread fromstream
- aas_core3_2.xmlization.relationship_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElement[source]
Read an instance of
types.RelationshipElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.relationship_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementread frompath
- aas_core3_2.xmlization.relationship_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElement[source]
Read an instance of
types.RelationshipElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.relationship_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementread fromtext
- aas_core3_2.xmlization.submodel_element_list_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementList[source]
Read an instance of
types.SubmodelElementListfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_list_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListread fromiterator
- aas_core3_2.xmlization.submodel_element_list_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementList[source]
Read an instance of
types.SubmodelElementListfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_list_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListread fromstream
- aas_core3_2.xmlization.submodel_element_list_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementList[source]
Read an instance of
types.SubmodelElementListfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_list_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListread frompath
- aas_core3_2.xmlization.submodel_element_list_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementList[source]
Read an instance of
types.SubmodelElementListfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_list_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListread fromtext
- aas_core3_2.xmlization.submodel_element_collection_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementCollection[source]
Read an instance of
types.SubmodelElementCollectionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_collection_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionread fromiterator
- aas_core3_2.xmlization.submodel_element_collection_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollection[source]
Read an instance of
types.SubmodelElementCollectionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_collection_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementCollectionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionread fromstream
- aas_core3_2.xmlization.submodel_element_collection_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollection[source]
Read an instance of
types.SubmodelElementCollectionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_collection_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementCollectionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionread frompath
- aas_core3_2.xmlization.submodel_element_collection_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollection[source]
Read an instance of
types.SubmodelElementCollectionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_collection_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementCollectionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionread fromtext
- aas_core3_2.xmlization.data_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DataElement[source]
Read an instance of
types.DataElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.data_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataElementread fromiterator
- aas_core3_2.xmlization.data_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataElement[source]
Read an instance of
types.DataElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.data_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DataElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataElementread fromstream
- aas_core3_2.xmlization.data_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataElement[source]
Read an instance of
types.DataElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.data_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DataElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataElementread frompath
- aas_core3_2.xmlization.data_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataElement[source]
Read an instance of
types.DataElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.data_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DataElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataElementread fromtext
- aas_core3_2.xmlization.property_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Property[source]
Read an instance of
types.Propertyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.property_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Propertyread fromiterator
- aas_core3_2.xmlization.property_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Property[source]
Read an instance of
types.Propertyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.property_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Propertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Propertyread fromstream
- aas_core3_2.xmlization.property_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Property[source]
Read an instance of
types.Propertyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.property_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Propertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Propertyread frompath
- aas_core3_2.xmlization.property_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Property[source]
Read an instance of
types.Propertyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.property_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Propertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Propertyread fromtext
- aas_core3_2.xmlization.multi_language_property_from_iterparse(iterator: Iterator[Tuple[str, Element]]) MultiLanguageProperty[source]
Read an instance of
types.MultiLanguagePropertyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.multi_language_property_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyread fromiterator
- aas_core3_2.xmlization.multi_language_property_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguageProperty[source]
Read an instance of
types.MultiLanguagePropertyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.multi_language_property_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.MultiLanguagePropertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyread fromstream
- aas_core3_2.xmlization.multi_language_property_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguageProperty[source]
Read an instance of
types.MultiLanguagePropertyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.multi_language_property_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.MultiLanguagePropertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyread frompath
- aas_core3_2.xmlization.multi_language_property_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguageProperty[source]
Read an instance of
types.MultiLanguagePropertyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.multi_language_property_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.MultiLanguagePropertyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyread fromtext
- aas_core3_2.xmlization.range_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Range[source]
Read an instance of
types.Rangefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.range_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Rangeread fromiterator
- aas_core3_2.xmlization.range_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Range[source]
Read an instance of
types.Rangefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.range_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Rangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Rangeread fromstream
- aas_core3_2.xmlization.range_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Range[source]
Read an instance of
types.Rangefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.range_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Rangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Rangeread frompath
- aas_core3_2.xmlization.range_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Range[source]
Read an instance of
types.Rangefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.range_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Rangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Rangeread fromtext
- aas_core3_2.xmlization.reference_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ReferenceElement[source]
Read an instance of
types.ReferenceElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.reference_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementread fromiterator
- aas_core3_2.xmlization.reference_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElement[source]
Read an instance of
types.ReferenceElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.reference_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ReferenceElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementread fromstream
- aas_core3_2.xmlization.reference_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElement[source]
Read an instance of
types.ReferenceElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.reference_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ReferenceElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementread frompath
- aas_core3_2.xmlization.reference_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElement[source]
Read an instance of
types.ReferenceElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.reference_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ReferenceElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementread fromtext
- aas_core3_2.xmlization.blob_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Blob[source]
Read an instance of
types.Blobfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.blob_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Blobread fromiterator
- aas_core3_2.xmlization.blob_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Blob[source]
Read an instance of
types.Blobfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.blob_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Blobin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Blobread fromstream
- aas_core3_2.xmlization.blob_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Blob[source]
Read an instance of
types.Blobfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.blob_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Blobin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Blobread frompath
- aas_core3_2.xmlization.blob_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Blob[source]
Read an instance of
types.Blobfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.blob_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Blobin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Blobread fromtext
- aas_core3_2.xmlization.file_from_iterparse(iterator: Iterator[Tuple[str, Element]]) File[source]
Read an instance of
types.Filefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.file_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Fileread fromiterator
- aas_core3_2.xmlization.file_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) File[source]
Read an instance of
types.Filefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.file_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Filein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Fileread fromstream
- aas_core3_2.xmlization.file_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) File[source]
Read an instance of
types.Filefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.file_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Filein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Fileread frompath
- aas_core3_2.xmlization.file_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) File[source]
Read an instance of
types.Filefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.file_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Filein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Fileread fromtext
- aas_core3_2.xmlization.annotated_relationship_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AnnotatedRelationshipElement[source]
Read an instance of
types.AnnotatedRelationshipElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.annotated_relationship_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementread fromiterator
- aas_core3_2.xmlization.annotated_relationship_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElement[source]
Read an instance of
types.AnnotatedRelationshipElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.annotated_relationship_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AnnotatedRelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementread fromstream
- aas_core3_2.xmlization.annotated_relationship_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElement[source]
Read an instance of
types.AnnotatedRelationshipElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.annotated_relationship_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AnnotatedRelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementread frompath
- aas_core3_2.xmlization.annotated_relationship_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElement[source]
Read an instance of
types.AnnotatedRelationshipElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.annotated_relationship_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AnnotatedRelationshipElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementread fromtext
- aas_core3_2.xmlization.entity_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Entity[source]
Read an instance of
types.Entityfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.entity_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Entityread fromiterator
- aas_core3_2.xmlization.entity_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Entity[source]
Read an instance of
types.Entityfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.entity_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Entityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Entityread fromstream
- aas_core3_2.xmlization.entity_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Entity[source]
Read an instance of
types.Entityfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.entity_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Entityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Entityread frompath
- aas_core3_2.xmlization.entity_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Entity[source]
Read an instance of
types.Entityfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.entity_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Entityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Entityread fromtext
- aas_core3_2.xmlization.event_payload_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EventPayload[source]
Read an instance of
types.EventPayloadfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.event_payload_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventPayloadread fromiterator
- aas_core3_2.xmlization.event_payload_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventPayload[source]
Read an instance of
types.EventPayloadfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.event_payload_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EventPayloadin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventPayloadread fromstream
- aas_core3_2.xmlization.event_payload_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventPayload[source]
Read an instance of
types.EventPayloadfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.event_payload_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EventPayloadin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventPayloadread frompath
- aas_core3_2.xmlization.event_payload_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventPayload[source]
Read an instance of
types.EventPayloadfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.event_payload_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EventPayloadin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventPayloadread fromtext
- aas_core3_2.xmlization.event_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EventElement[source]
Read an instance of
types.EventElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.event_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventElementread fromiterator
- aas_core3_2.xmlization.event_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventElement[source]
Read an instance of
types.EventElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.event_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventElementread fromstream
- aas_core3_2.xmlization.event_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventElement[source]
Read an instance of
types.EventElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.event_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventElementread frompath
- aas_core3_2.xmlization.event_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EventElement[source]
Read an instance of
types.EventElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.event_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EventElementread fromtext
- aas_core3_2.xmlization.basic_event_element_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BasicEventElement[source]
Read an instance of
types.BasicEventElementfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.basic_event_element_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementread fromiterator
- aas_core3_2.xmlization.basic_event_element_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElement[source]
Read an instance of
types.BasicEventElementfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.basic_event_element_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BasicEventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementread fromstream
- aas_core3_2.xmlization.basic_event_element_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElement[source]
Read an instance of
types.BasicEventElementfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.basic_event_element_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BasicEventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementread frompath
- aas_core3_2.xmlization.basic_event_element_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElement[source]
Read an instance of
types.BasicEventElementfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.basic_event_element_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BasicEventElementin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementread fromtext
- aas_core3_2.xmlization.operation_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Operation[source]
Read an instance of
types.Operationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Operationread fromiterator
- aas_core3_2.xmlization.operation_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Operation[source]
Read an instance of
types.Operationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Operationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Operationread fromstream
- aas_core3_2.xmlization.operation_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Operation[source]
Read an instance of
types.Operationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Operationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Operationread frompath
- aas_core3_2.xmlization.operation_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Operation[source]
Read an instance of
types.Operationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Operationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Operationread fromtext
- aas_core3_2.xmlization.operation_variable_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationVariable[source]
Read an instance of
types.OperationVariablefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_variable_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationVariableread fromiterator
- aas_core3_2.xmlization.operation_variable_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationVariable[source]
Read an instance of
types.OperationVariablefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_variable_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationVariablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationVariableread fromstream
- aas_core3_2.xmlization.operation_variable_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationVariable[source]
Read an instance of
types.OperationVariablefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_variable_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationVariablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationVariableread frompath
- aas_core3_2.xmlization.operation_variable_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationVariable[source]
Read an instance of
types.OperationVariablefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_variable_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationVariablein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationVariableread fromtext
- aas_core3_2.xmlization.capability_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Capability[source]
Read an instance of
types.Capabilityfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.capability_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Capabilityread fromiterator
- aas_core3_2.xmlization.capability_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Capability[source]
Read an instance of
types.Capabilityfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.capability_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Capabilityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Capabilityread fromstream
- aas_core3_2.xmlization.capability_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Capability[source]
Read an instance of
types.Capabilityfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.capability_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Capabilityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Capabilityread frompath
- aas_core3_2.xmlization.capability_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Capability[source]
Read an instance of
types.Capabilityfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.capability_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Capabilityin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Capabilityread fromtext
- aas_core3_2.xmlization.concept_description_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ConceptDescription[source]
Read an instance of
types.ConceptDescriptionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.concept_description_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionread fromiterator
- aas_core3_2.xmlization.concept_description_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescription[source]
Read an instance of
types.ConceptDescriptionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.concept_description_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ConceptDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionread fromstream
- aas_core3_2.xmlization.concept_description_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescription[source]
Read an instance of
types.ConceptDescriptionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.concept_description_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ConceptDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionread frompath
- aas_core3_2.xmlization.concept_description_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescription[source]
Read an instance of
types.ConceptDescriptionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.concept_description_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ConceptDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionread fromtext
- aas_core3_2.xmlization.reference_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Reference[source]
Read an instance of
types.Referencefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.reference_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referenceread fromiterator
- aas_core3_2.xmlization.reference_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Reference[source]
Read an instance of
types.Referencefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.reference_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Referencein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referenceread fromstream
- aas_core3_2.xmlization.reference_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Reference[source]
Read an instance of
types.Referencefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.reference_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Referencein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referenceread frompath
- aas_core3_2.xmlization.reference_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Reference[source]
Read an instance of
types.Referencefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.reference_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Referencein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Referenceread fromtext
- aas_core3_2.xmlization.key_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Key[source]
Read an instance of
types.Keyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.key_from_iterparse( iterator ) # Do something with the ``instance``
- aas_core3_2.xmlization.key_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Key[source]
Read an instance of
types.Keyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.key_from_stream( stream ) # Do something with the ``instance``
- Parameters
has_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Keyread fromstream
- aas_core3_2.xmlization.key_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Key[source]
Read an instance of
types.Keyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.key_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Keyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Keyread frompath
- aas_core3_2.xmlization.key_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Key[source]
Read an instance of
types.Keyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.key_from_str( text ) # Do something with the ``instance``
- Parameters
has_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Keyread fromtext
- aas_core3_2.xmlization.abstract_lang_string_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AbstractLangString[source]
Read an instance of
types.AbstractLangStringfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.abstract_lang_string_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AbstractLangStringread fromiterator
- aas_core3_2.xmlization.abstract_lang_string_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AbstractLangString[source]
Read an instance of
types.AbstractLangStringfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.abstract_lang_string_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AbstractLangStringin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AbstractLangStringread fromstream
- aas_core3_2.xmlization.abstract_lang_string_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AbstractLangString[source]
Read an instance of
types.AbstractLangStringfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.abstract_lang_string_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AbstractLangStringin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AbstractLangStringread frompath
- aas_core3_2.xmlization.abstract_lang_string_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AbstractLangString[source]
Read an instance of
types.AbstractLangStringfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.abstract_lang_string_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AbstractLangStringin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AbstractLangStringread fromtext
- aas_core3_2.xmlization.lang_string_name_type_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringNameType[source]
Read an instance of
types.LangStringNameTypefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_name_type_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringNameTyperead fromiterator
- aas_core3_2.xmlization.lang_string_name_type_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringNameType[source]
Read an instance of
types.LangStringNameTypefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_name_type_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringNameTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringNameTyperead fromstream
- aas_core3_2.xmlization.lang_string_name_type_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringNameType[source]
Read an instance of
types.LangStringNameTypefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_name_type_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringNameTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringNameTyperead frompath
- aas_core3_2.xmlization.lang_string_name_type_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringNameType[source]
Read an instance of
types.LangStringNameTypefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_name_type_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringNameTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringNameTyperead fromtext
- aas_core3_2.xmlization.lang_string_text_type_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringTextType[source]
Read an instance of
types.LangStringTextTypefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_text_type_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringTextTyperead fromiterator
- aas_core3_2.xmlization.lang_string_text_type_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringTextType[source]
Read an instance of
types.LangStringTextTypefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_text_type_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringTextTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringTextTyperead fromstream
- aas_core3_2.xmlization.lang_string_text_type_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringTextType[source]
Read an instance of
types.LangStringTextTypefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_text_type_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringTextTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringTextTyperead frompath
- aas_core3_2.xmlization.lang_string_text_type_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringTextType[source]
Read an instance of
types.LangStringTextTypefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_text_type_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringTextTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringTextTyperead fromtext
- aas_core3_2.xmlization.environment_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Environment[source]
Read an instance of
types.Environmentfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.environment_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Environmentread fromiterator
- aas_core3_2.xmlization.environment_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Environment[source]
Read an instance of
types.Environmentfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.environment_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Environmentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Environmentread fromstream
- aas_core3_2.xmlization.environment_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Environment[source]
Read an instance of
types.Environmentfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.environment_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Environmentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Environmentread frompath
- aas_core3_2.xmlization.environment_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Environment[source]
Read an instance of
types.Environmentfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.environment_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Environmentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Environmentread fromtext
- aas_core3_2.xmlization.data_specification_content_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DataSpecificationContent[source]
Read an instance of
types.DataSpecificationContentfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.data_specification_content_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationContentread fromiterator
- aas_core3_2.xmlization.data_specification_content_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationContent[source]
Read an instance of
types.DataSpecificationContentfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.data_specification_content_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DataSpecificationContentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationContentread fromstream
- aas_core3_2.xmlization.data_specification_content_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationContent[source]
Read an instance of
types.DataSpecificationContentfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.data_specification_content_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DataSpecificationContentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationContentread frompath
- aas_core3_2.xmlization.data_specification_content_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationContent[source]
Read an instance of
types.DataSpecificationContentfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.data_specification_content_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DataSpecificationContentin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationContentread fromtext
- aas_core3_2.xmlization.embedded_data_specification_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EmbeddedDataSpecification[source]
Read an instance of
types.EmbeddedDataSpecificationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.embedded_data_specification_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EmbeddedDataSpecificationread fromiterator
- aas_core3_2.xmlization.embedded_data_specification_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EmbeddedDataSpecification[source]
Read an instance of
types.EmbeddedDataSpecificationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.embedded_data_specification_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EmbeddedDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EmbeddedDataSpecificationread fromstream
- aas_core3_2.xmlization.embedded_data_specification_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EmbeddedDataSpecification[source]
Read an instance of
types.EmbeddedDataSpecificationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.embedded_data_specification_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EmbeddedDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EmbeddedDataSpecificationread frompath
- aas_core3_2.xmlization.embedded_data_specification_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EmbeddedDataSpecification[source]
Read an instance of
types.EmbeddedDataSpecificationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.embedded_data_specification_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EmbeddedDataSpecificationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EmbeddedDataSpecificationread fromtext
- aas_core3_2.xmlization.level_type_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LevelType[source]
Read an instance of
types.LevelTypefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.level_type_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LevelTyperead fromiterator
- aas_core3_2.xmlization.level_type_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LevelType[source]
Read an instance of
types.LevelTypefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.level_type_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LevelTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LevelTyperead fromstream
- aas_core3_2.xmlization.level_type_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LevelType[source]
Read an instance of
types.LevelTypefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.level_type_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LevelTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LevelTyperead frompath
- aas_core3_2.xmlization.level_type_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LevelType[source]
Read an instance of
types.LevelTypefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.level_type_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LevelTypein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LevelTyperead fromtext
- aas_core3_2.xmlization.value_reference_pair_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ValueReferencePair[source]
Read an instance of
types.ValueReferencePairfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.value_reference_pair_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueReferencePairread fromiterator
- aas_core3_2.xmlization.value_reference_pair_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueReferencePair[source]
Read an instance of
types.ValueReferencePairfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.value_reference_pair_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ValueReferencePairin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueReferencePairread fromstream
- aas_core3_2.xmlization.value_reference_pair_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueReferencePair[source]
Read an instance of
types.ValueReferencePairfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.value_reference_pair_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ValueReferencePairin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueReferencePairread frompath
- aas_core3_2.xmlization.value_reference_pair_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueReferencePair[source]
Read an instance of
types.ValueReferencePairfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.value_reference_pair_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ValueReferencePairin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueReferencePairread fromtext
- aas_core3_2.xmlization.value_list_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ValueList[source]
Read an instance of
types.ValueListfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.value_list_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueListread fromiterator
- aas_core3_2.xmlization.value_list_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueList[source]
Read an instance of
types.ValueListfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.value_list_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ValueListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueListread fromstream
- aas_core3_2.xmlization.value_list_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueList[source]
Read an instance of
types.ValueListfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.value_list_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ValueListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueListread frompath
- aas_core3_2.xmlization.value_list_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ValueList[source]
Read an instance of
types.ValueListfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.value_list_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ValueListin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ValueListread fromtext
- aas_core3_2.xmlization.lang_string_preferred_name_type_iec_61360_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringPreferredNameTypeIEC61360[source]
Read an instance of
types.LangStringPreferredNameTypeIEC61360from theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_preferred_name_type_iec_61360_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringPreferredNameTypeIEC61360read fromiterator
- aas_core3_2.xmlization.lang_string_preferred_name_type_iec_61360_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringPreferredNameTypeIEC61360[source]
Read an instance of
types.LangStringPreferredNameTypeIEC61360from thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_preferred_name_type_iec_61360_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringPreferredNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringPreferredNameTypeIEC61360read fromstream
- aas_core3_2.xmlization.lang_string_preferred_name_type_iec_61360_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringPreferredNameTypeIEC61360[source]
Read an instance of
types.LangStringPreferredNameTypeIEC61360from thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_preferred_name_type_iec_61360_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringPreferredNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringPreferredNameTypeIEC61360read frompath
- aas_core3_2.xmlization.lang_string_preferred_name_type_iec_61360_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringPreferredNameTypeIEC61360[source]
Read an instance of
types.LangStringPreferredNameTypeIEC61360from thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_preferred_name_type_iec_61360_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringPreferredNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringPreferredNameTypeIEC61360read fromtext
- aas_core3_2.xmlization.lang_string_short_name_type_iec_61360_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringShortNameTypeIEC61360[source]
Read an instance of
types.LangStringShortNameTypeIEC61360from theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_short_name_type_iec_61360_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringShortNameTypeIEC61360read fromiterator
- aas_core3_2.xmlization.lang_string_short_name_type_iec_61360_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringShortNameTypeIEC61360[source]
Read an instance of
types.LangStringShortNameTypeIEC61360from thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_short_name_type_iec_61360_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringShortNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringShortNameTypeIEC61360read fromstream
- aas_core3_2.xmlization.lang_string_short_name_type_iec_61360_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringShortNameTypeIEC61360[source]
Read an instance of
types.LangStringShortNameTypeIEC61360from thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_short_name_type_iec_61360_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringShortNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringShortNameTypeIEC61360read frompath
- aas_core3_2.xmlization.lang_string_short_name_type_iec_61360_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringShortNameTypeIEC61360[source]
Read an instance of
types.LangStringShortNameTypeIEC61360from thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_short_name_type_iec_61360_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringShortNameTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringShortNameTypeIEC61360read fromtext
- aas_core3_2.xmlization.lang_string_definition_type_iec_61360_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringDefinitionTypeIEC61360[source]
Read an instance of
types.LangStringDefinitionTypeIEC61360from theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_definition_type_iec_61360_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringDefinitionTypeIEC61360read fromiterator
- aas_core3_2.xmlization.lang_string_definition_type_iec_61360_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringDefinitionTypeIEC61360[source]
Read an instance of
types.LangStringDefinitionTypeIEC61360from thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_definition_type_iec_61360_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringDefinitionTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringDefinitionTypeIEC61360read fromstream
- aas_core3_2.xmlization.lang_string_definition_type_iec_61360_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringDefinitionTypeIEC61360[source]
Read an instance of
types.LangStringDefinitionTypeIEC61360from thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_definition_type_iec_61360_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringDefinitionTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringDefinitionTypeIEC61360read frompath
- aas_core3_2.xmlization.lang_string_definition_type_iec_61360_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringDefinitionTypeIEC61360[source]
Read an instance of
types.LangStringDefinitionTypeIEC61360from thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_definition_type_iec_61360_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringDefinitionTypeIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringDefinitionTypeIEC61360read fromtext
- aas_core3_2.xmlization.lang_string_uom_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LangStringUom[source]
Read an instance of
types.LangStringUomfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.lang_string_uom_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringUomread fromiterator
- aas_core3_2.xmlization.lang_string_uom_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringUom[source]
Read an instance of
types.LangStringUomfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.lang_string_uom_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LangStringUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringUomread fromstream
- aas_core3_2.xmlization.lang_string_uom_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringUom[source]
Read an instance of
types.LangStringUomfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.lang_string_uom_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LangStringUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringUomread frompath
- aas_core3_2.xmlization.lang_string_uom_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LangStringUom[source]
Read an instance of
types.LangStringUomfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.lang_string_uom_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LangStringUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LangStringUomread fromtext
- aas_core3_2.xmlization.definition_type_uom_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DefinitionTypeUom[source]
Read an instance of
types.DefinitionTypeUomfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.definition_type_uom_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DefinitionTypeUomread fromiterator
- aas_core3_2.xmlization.definition_type_uom_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DefinitionTypeUom[source]
Read an instance of
types.DefinitionTypeUomfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.definition_type_uom_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DefinitionTypeUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DefinitionTypeUomread fromstream
- aas_core3_2.xmlization.definition_type_uom_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DefinitionTypeUom[source]
Read an instance of
types.DefinitionTypeUomfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.definition_type_uom_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DefinitionTypeUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DefinitionTypeUomread frompath
- aas_core3_2.xmlization.definition_type_uom_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DefinitionTypeUom[source]
Read an instance of
types.DefinitionTypeUomfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.definition_type_uom_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DefinitionTypeUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DefinitionTypeUomread fromtext
- aas_core3_2.xmlization.data_specification_uom_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DataSpecificationUom[source]
Read an instance of
types.DataSpecificationUomfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.data_specification_uom_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationUomread fromiterator
- aas_core3_2.xmlization.data_specification_uom_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationUom[source]
Read an instance of
types.DataSpecificationUomfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.data_specification_uom_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DataSpecificationUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationUomread fromstream
- aas_core3_2.xmlization.data_specification_uom_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationUom[source]
Read an instance of
types.DataSpecificationUomfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.data_specification_uom_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DataSpecificationUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationUomread frompath
- aas_core3_2.xmlization.data_specification_uom_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationUom[source]
Read an instance of
types.DataSpecificationUomfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.data_specification_uom_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DataSpecificationUomin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationUomread fromtext
- aas_core3_2.xmlization.data_specification_iec_61360_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DataSpecificationIEC61360[source]
Read an instance of
types.DataSpecificationIEC61360from theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.data_specification_iec_61360_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationIEC61360read fromiterator
- aas_core3_2.xmlization.data_specification_iec_61360_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationIEC61360[source]
Read an instance of
types.DataSpecificationIEC61360from thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.data_specification_iec_61360_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DataSpecificationIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationIEC61360read fromstream
- aas_core3_2.xmlization.data_specification_iec_61360_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationIEC61360[source]
Read an instance of
types.DataSpecificationIEC61360from thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.data_specification_iec_61360_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DataSpecificationIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationIEC61360read frompath
- aas_core3_2.xmlization.data_specification_iec_61360_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DataSpecificationIEC61360[source]
Read an instance of
types.DataSpecificationIEC61360from thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.data_specification_iec_61360_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DataSpecificationIEC61360in XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DataSpecificationIEC61360read fromtext
- aas_core3_2.xmlization.descriptor_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Descriptor[source]
Read an instance of
types.Descriptorfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.descriptor_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Descriptorread fromiterator
- aas_core3_2.xmlization.descriptor_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Descriptor[source]
Read an instance of
types.Descriptorfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.descriptor_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Descriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Descriptorread fromstream
- aas_core3_2.xmlization.descriptor_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Descriptor[source]
Read an instance of
types.Descriptorfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.descriptor_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Descriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Descriptorread frompath
- aas_core3_2.xmlization.descriptor_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Descriptor[source]
Read an instance of
types.Descriptorfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.descriptor_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Descriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Descriptorread fromtext
- aas_core3_2.xmlization.asset_administration_shell_descriptor_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetAdministrationShellDescriptor[source]
Read an instance of
types.AssetAdministrationShellDescriptorfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_administration_shell_descriptor_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellDescriptorread fromiterator
- aas_core3_2.xmlization.asset_administration_shell_descriptor_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellDescriptor[source]
Read an instance of
types.AssetAdministrationShellDescriptorfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_administration_shell_descriptor_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetAdministrationShellDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellDescriptorread fromstream
- aas_core3_2.xmlization.asset_administration_shell_descriptor_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellDescriptor[source]
Read an instance of
types.AssetAdministrationShellDescriptorfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_administration_shell_descriptor_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetAdministrationShellDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellDescriptorread frompath
- aas_core3_2.xmlization.asset_administration_shell_descriptor_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellDescriptor[source]
Read an instance of
types.AssetAdministrationShellDescriptorfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_administration_shell_descriptor_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetAdministrationShellDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellDescriptorread fromtext
- aas_core3_2.xmlization.submodel_descriptor_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelDescriptor[source]
Read an instance of
types.SubmodelDescriptorfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_descriptor_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelDescriptorread fromiterator
- aas_core3_2.xmlization.submodel_descriptor_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelDescriptor[source]
Read an instance of
types.SubmodelDescriptorfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_descriptor_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelDescriptorread fromstream
- aas_core3_2.xmlization.submodel_descriptor_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelDescriptor[source]
Read an instance of
types.SubmodelDescriptorfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_descriptor_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelDescriptorread frompath
- aas_core3_2.xmlization.submodel_descriptor_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelDescriptor[source]
Read an instance of
types.SubmodelDescriptorfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_descriptor_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelDescriptorin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelDescriptorread fromtext
- aas_core3_2.xmlization.endpoint_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Endpoint[source]
Read an instance of
types.Endpointfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.endpoint_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Endpointread fromiterator
- aas_core3_2.xmlization.endpoint_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Endpoint[source]
Read an instance of
types.Endpointfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.endpoint_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Endpointin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Endpointread fromstream
- aas_core3_2.xmlization.endpoint_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Endpoint[source]
Read an instance of
types.Endpointfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.endpoint_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Endpointin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Endpointread frompath
- aas_core3_2.xmlization.endpoint_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Endpoint[source]
Read an instance of
types.Endpointfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.endpoint_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Endpointin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Endpointread fromtext
- aas_core3_2.xmlization.protocol_information_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ProtocolInformation[source]
Read an instance of
types.ProtocolInformationfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.protocol_information_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ProtocolInformationread fromiterator
- aas_core3_2.xmlization.protocol_information_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ProtocolInformation[source]
Read an instance of
types.ProtocolInformationfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.protocol_information_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ProtocolInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ProtocolInformationread fromstream
- aas_core3_2.xmlization.protocol_information_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ProtocolInformation[source]
Read an instance of
types.ProtocolInformationfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.protocol_information_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ProtocolInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ProtocolInformationread frompath
- aas_core3_2.xmlization.protocol_information_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ProtocolInformation[source]
Read an instance of
types.ProtocolInformationfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.protocol_information_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ProtocolInformationin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ProtocolInformationread fromtext
- aas_core3_2.xmlization.security_attribute_object_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SecurityAttributeObject[source]
Read an instance of
types.SecurityAttributeObjectfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.security_attribute_object_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SecurityAttributeObjectread fromiterator
- aas_core3_2.xmlization.security_attribute_object_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SecurityAttributeObject[source]
Read an instance of
types.SecurityAttributeObjectfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.security_attribute_object_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SecurityAttributeObjectin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SecurityAttributeObjectread fromstream
- aas_core3_2.xmlization.security_attribute_object_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SecurityAttributeObject[source]
Read an instance of
types.SecurityAttributeObjectfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.security_attribute_object_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SecurityAttributeObjectin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SecurityAttributeObjectread frompath
- aas_core3_2.xmlization.security_attribute_object_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SecurityAttributeObject[source]
Read an instance of
types.SecurityAttributeObjectfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.security_attribute_object_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SecurityAttributeObjectin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SecurityAttributeObjectread fromtext
- aas_core3_2.xmlization.asset_link_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetLink[source]
Read an instance of
types.AssetLinkfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_link_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetLinkread fromiterator
- aas_core3_2.xmlization.asset_link_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetLink[source]
Read an instance of
types.AssetLinkfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_link_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetLinkin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetLinkread fromstream
- aas_core3_2.xmlization.asset_link_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetLink[source]
Read an instance of
types.AssetLinkfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_link_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetLinkin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetLinkread frompath
- aas_core3_2.xmlization.asset_link_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetLink[source]
Read an instance of
types.AssetLinkfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_link_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetLinkin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetLinkread fromtext
- aas_core3_2.xmlization.service_description_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ServiceDescription[source]
Read an instance of
types.ServiceDescriptionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.service_description_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ServiceDescriptionread fromiterator
- aas_core3_2.xmlization.service_description_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ServiceDescription[source]
Read an instance of
types.ServiceDescriptionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.service_description_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ServiceDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ServiceDescriptionread fromstream
- aas_core3_2.xmlization.service_description_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ServiceDescription[source]
Read an instance of
types.ServiceDescriptionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.service_description_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ServiceDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ServiceDescriptionread frompath
- aas_core3_2.xmlization.service_description_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ServiceDescription[source]
Read an instance of
types.ServiceDescriptionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.service_description_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ServiceDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ServiceDescriptionread fromtext
- aas_core3_2.xmlization.recent_change_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RecentChange[source]
Read an instance of
types.RecentChangefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.recent_change_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RecentChangeread fromiterator
- aas_core3_2.xmlization.recent_change_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RecentChange[source]
Read an instance of
types.RecentChangefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.recent_change_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RecentChangeread fromstream
- aas_core3_2.xmlization.recent_change_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RecentChange[source]
Read an instance of
types.RecentChangefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.recent_change_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RecentChangeread frompath
- aas_core3_2.xmlization.recent_change_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RecentChange[source]
Read an instance of
types.RecentChangefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.recent_change_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RecentChangeread fromtext
- aas_core3_2.xmlization.asset_administration_shell_recent_change_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetAdministrationShellRecentChange[source]
Read an instance of
types.AssetAdministrationShellRecentChangefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_administration_shell_recent_change_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellRecentChangeread fromiterator
- aas_core3_2.xmlization.asset_administration_shell_recent_change_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellRecentChange[source]
Read an instance of
types.AssetAdministrationShellRecentChangefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_administration_shell_recent_change_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetAdministrationShellRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellRecentChangeread fromstream
- aas_core3_2.xmlization.asset_administration_shell_recent_change_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellRecentChange[source]
Read an instance of
types.AssetAdministrationShellRecentChangefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_administration_shell_recent_change_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetAdministrationShellRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellRecentChangeread frompath
- aas_core3_2.xmlization.asset_administration_shell_recent_change_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellRecentChange[source]
Read an instance of
types.AssetAdministrationShellRecentChangefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_administration_shell_recent_change_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetAdministrationShellRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellRecentChangeread fromtext
- aas_core3_2.xmlization.concept_description_recent_change_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ConceptDescriptionRecentChange[source]
Read an instance of
types.ConceptDescriptionRecentChangefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.concept_description_recent_change_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionRecentChangeread fromiterator
- aas_core3_2.xmlization.concept_description_recent_change_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescriptionRecentChange[source]
Read an instance of
types.ConceptDescriptionRecentChangefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.concept_description_recent_change_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ConceptDescriptionRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionRecentChangeread fromstream
- aas_core3_2.xmlization.concept_description_recent_change_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescriptionRecentChange[source]
Read an instance of
types.ConceptDescriptionRecentChangefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.concept_description_recent_change_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ConceptDescriptionRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionRecentChangeread frompath
- aas_core3_2.xmlization.concept_description_recent_change_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ConceptDescriptionRecentChange[source]
Read an instance of
types.ConceptDescriptionRecentChangefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.concept_description_recent_change_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ConceptDescriptionRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ConceptDescriptionRecentChangeread fromtext
- aas_core3_2.xmlization.submodel_recent_change_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelRecentChange[source]
Read an instance of
types.SubmodelRecentChangefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_recent_change_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelRecentChangeread fromiterator
- aas_core3_2.xmlization.submodel_recent_change_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelRecentChange[source]
Read an instance of
types.SubmodelRecentChangefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_recent_change_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelRecentChangeread fromstream
- aas_core3_2.xmlization.submodel_recent_change_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelRecentChange[source]
Read an instance of
types.SubmodelRecentChangefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_recent_change_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelRecentChangeread frompath
- aas_core3_2.xmlization.submodel_recent_change_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelRecentChange[source]
Read an instance of
types.SubmodelRecentChangefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_recent_change_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelRecentChangein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelRecentChangeread fromtext
- aas_core3_2.xmlization.result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Result[source]
Read an instance of
types.Resultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resultread fromiterator
- aas_core3_2.xmlization.result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Result[source]
Read an instance of
types.Resultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Resultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resultread fromstream
- aas_core3_2.xmlization.result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Result[source]
Read an instance of
types.Resultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Resultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resultread frompath
- aas_core3_2.xmlization.result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Result[source]
Read an instance of
types.Resultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Resultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Resultread fromtext
- aas_core3_2.xmlization.message_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Message[source]
Read an instance of
types.Messagefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.message_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Messageread fromiterator
- aas_core3_2.xmlization.message_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Message[source]
Read an instance of
types.Messagefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.message_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Messagein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Messageread fromstream
- aas_core3_2.xmlization.message_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Message[source]
Read an instance of
types.Messagefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.message_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Messagein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Messageread frompath
- aas_core3_2.xmlization.message_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Message[source]
Read an instance of
types.Messagefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.message_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Messagein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Messageread fromtext
- aas_core3_2.xmlization.operation_request_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationRequest[source]
Read an instance of
types.OperationRequestfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_request_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestread fromiterator
- aas_core3_2.xmlization.operation_request_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequest[source]
Read an instance of
types.OperationRequestfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_request_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationRequestin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestread fromstream
- aas_core3_2.xmlization.operation_request_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequest[source]
Read an instance of
types.OperationRequestfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_request_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationRequestin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestread frompath
- aas_core3_2.xmlization.operation_request_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequest[source]
Read an instance of
types.OperationRequestfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_request_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationRequestin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestread fromtext
- aas_core3_2.xmlization.operation_request_async_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationRequestAsync[source]
Read an instance of
types.OperationRequestAsyncfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_request_async_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncread fromiterator
- aas_core3_2.xmlization.operation_request_async_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsync[source]
Read an instance of
types.OperationRequestAsyncfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_request_async_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationRequestAsyncin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncread fromstream
- aas_core3_2.xmlization.operation_request_async_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsync[source]
Read an instance of
types.OperationRequestAsyncfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_request_async_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationRequestAsyncin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncread frompath
- aas_core3_2.xmlization.operation_request_async_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsync[source]
Read an instance of
types.OperationRequestAsyncfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_request_async_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationRequestAsyncin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncread fromtext
- aas_core3_2.xmlization.operation_request_value_only_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationRequestValueOnly[source]
Read an instance of
types.OperationRequestValueOnlyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_request_value_only_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestValueOnlyread fromiterator
- aas_core3_2.xmlization.operation_request_value_only_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestValueOnly[source]
Read an instance of
types.OperationRequestValueOnlyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_request_value_only_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationRequestValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestValueOnlyread fromstream
- aas_core3_2.xmlization.operation_request_value_only_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestValueOnly[source]
Read an instance of
types.OperationRequestValueOnlyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_request_value_only_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationRequestValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestValueOnlyread frompath
- aas_core3_2.xmlization.operation_request_value_only_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestValueOnly[source]
Read an instance of
types.OperationRequestValueOnlyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_request_value_only_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationRequestValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestValueOnlyread fromtext
- aas_core3_2.xmlization.operation_request_async_value_only_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationRequestAsyncValueOnly[source]
Read an instance of
types.OperationRequestAsyncValueOnlyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_request_async_value_only_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncValueOnlyread fromiterator
- aas_core3_2.xmlization.operation_request_async_value_only_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsyncValueOnly[source]
Read an instance of
types.OperationRequestAsyncValueOnlyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_request_async_value_only_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationRequestAsyncValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncValueOnlyread fromstream
- aas_core3_2.xmlization.operation_request_async_value_only_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsyncValueOnly[source]
Read an instance of
types.OperationRequestAsyncValueOnlyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_request_async_value_only_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationRequestAsyncValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncValueOnlyread frompath
- aas_core3_2.xmlization.operation_request_async_value_only_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationRequestAsyncValueOnly[source]
Read an instance of
types.OperationRequestAsyncValueOnlyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_request_async_value_only_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationRequestAsyncValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationRequestAsyncValueOnlyread fromtext
- aas_core3_2.xmlization.base_operation_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BaseOperationResult[source]
Read an instance of
types.BaseOperationResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.base_operation_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BaseOperationResultread fromiterator
- aas_core3_2.xmlization.base_operation_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BaseOperationResult[source]
Read an instance of
types.BaseOperationResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.base_operation_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BaseOperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BaseOperationResultread fromstream
- aas_core3_2.xmlization.base_operation_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BaseOperationResult[source]
Read an instance of
types.BaseOperationResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.base_operation_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BaseOperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BaseOperationResultread frompath
- aas_core3_2.xmlization.base_operation_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BaseOperationResult[source]
Read an instance of
types.BaseOperationResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.base_operation_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BaseOperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BaseOperationResultread fromtext
- aas_core3_2.xmlization.operation_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationResult[source]
Read an instance of
types.OperationResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultread fromiterator
- aas_core3_2.xmlization.operation_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResult[source]
Read an instance of
types.OperationResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultread fromstream
- aas_core3_2.xmlization.operation_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResult[source]
Read an instance of
types.OperationResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultread frompath
- aas_core3_2.xmlization.operation_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResult[source]
Read an instance of
types.OperationResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultread fromtext
- aas_core3_2.xmlization.operation_result_value_only_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationResultValueOnly[source]
Read an instance of
types.OperationResultValueOnlyfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_result_value_only_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultValueOnlyread fromiterator
- aas_core3_2.xmlization.operation_result_value_only_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResultValueOnly[source]
Read an instance of
types.OperationResultValueOnlyfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_result_value_only_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationResultValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultValueOnlyread fromstream
- aas_core3_2.xmlization.operation_result_value_only_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResultValueOnly[source]
Read an instance of
types.OperationResultValueOnlyfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_result_value_only_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationResultValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultValueOnlyread frompath
- aas_core3_2.xmlization.operation_result_value_only_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationResultValueOnly[source]
Read an instance of
types.OperationResultValueOnlyfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_result_value_only_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationResultValueOnlyin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationResultValueOnlyread fromtext
- aas_core3_2.xmlization.operation_handle_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationHandle[source]
Read an instance of
types.OperationHandlefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_handle_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationHandleread fromiterator
- aas_core3_2.xmlization.operation_handle_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationHandle[source]
Read an instance of
types.OperationHandlefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_handle_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationHandlein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationHandleread fromstream
- aas_core3_2.xmlization.operation_handle_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationHandle[source]
Read an instance of
types.OperationHandlefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_handle_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationHandlein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationHandleread frompath
- aas_core3_2.xmlization.operation_handle_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationHandle[source]
Read an instance of
types.OperationHandlefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_handle_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationHandlein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationHandleread fromtext
- aas_core3_2.xmlization.paged_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) PagedResult[source]
Read an instance of
types.PagedResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.paged_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagedResultread fromiterator
- aas_core3_2.xmlization.paged_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagedResult[source]
Read an instance of
types.PagedResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.paged_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.PagedResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagedResultread fromstream
- aas_core3_2.xmlization.paged_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagedResult[source]
Read an instance of
types.PagedResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.paged_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.PagedResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagedResultread frompath
- aas_core3_2.xmlization.paged_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagedResult[source]
Read an instance of
types.PagedResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.paged_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.PagedResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagedResultread fromtext
- aas_core3_2.xmlization.paging_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) PagingMetadata[source]
Read an instance of
types.PagingMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.paging_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagingMetadataread fromiterator
- aas_core3_2.xmlization.paging_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagingMetadata[source]
Read an instance of
types.PagingMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.paging_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.PagingMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagingMetadataread fromstream
- aas_core3_2.xmlization.paging_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagingMetadata[source]
Read an instance of
types.PagingMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.paging_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.PagingMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagingMetadataread frompath
- aas_core3_2.xmlization.paging_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PagingMetadata[source]
Read an instance of
types.PagingMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.paging_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.PagingMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PagingMetadataread fromtext
- aas_core3_2.xmlization.package_description_from_iterparse(iterator: Iterator[Tuple[str, Element]]) PackageDescription[source]
Read an instance of
types.PackageDescriptionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.package_description_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PackageDescriptionread fromiterator
- aas_core3_2.xmlization.package_description_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PackageDescription[source]
Read an instance of
types.PackageDescriptionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.package_description_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.PackageDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PackageDescriptionread fromstream
- aas_core3_2.xmlization.package_description_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PackageDescription[source]
Read an instance of
types.PackageDescriptionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.package_description_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.PackageDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PackageDescriptionread frompath
- aas_core3_2.xmlization.package_description_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PackageDescription[source]
Read an instance of
types.PackageDescriptionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.package_description_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.PackageDescriptionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PackageDescriptionread fromtext
- aas_core3_2.xmlization.submodel_element_attributes_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementAttributes[source]
Read an instance of
types.SubmodelElementAttributesfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_attributes_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementAttributesread fromiterator
- aas_core3_2.xmlization.submodel_element_attributes_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementAttributes[source]
Read an instance of
types.SubmodelElementAttributesfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_attributes_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementAttributesin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementAttributesread fromstream
- aas_core3_2.xmlization.submodel_element_attributes_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementAttributes[source]
Read an instance of
types.SubmodelElementAttributesfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_attributes_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementAttributesin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementAttributesread frompath
- aas_core3_2.xmlization.submodel_element_attributes_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementAttributes[source]
Read an instance of
types.SubmodelElementAttributesfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_attributes_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementAttributesin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementAttributesread fromtext
- aas_core3_2.xmlization.submodel_element_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementMetadata[source]
Read an instance of
types.SubmodelElementMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementMetadataread fromiterator
- aas_core3_2.xmlization.submodel_element_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementMetadata[source]
Read an instance of
types.SubmodelElementMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementMetadataread fromstream
- aas_core3_2.xmlization.submodel_element_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementMetadata[source]
Read an instance of
types.SubmodelElementMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementMetadataread frompath
- aas_core3_2.xmlization.submodel_element_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementMetadata[source]
Read an instance of
types.SubmodelElementMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementMetadataread fromtext
- aas_core3_2.xmlization.property_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) PropertyMetadata[source]
Read an instance of
types.PropertyMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.property_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PropertyMetadataread fromiterator
- aas_core3_2.xmlization.property_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PropertyMetadata[source]
Read an instance of
types.PropertyMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.property_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.PropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PropertyMetadataread fromstream
- aas_core3_2.xmlization.property_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PropertyMetadata[source]
Read an instance of
types.PropertyMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.property_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.PropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PropertyMetadataread frompath
- aas_core3_2.xmlization.property_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) PropertyMetadata[source]
Read an instance of
types.PropertyMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.property_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.PropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.PropertyMetadataread fromtext
- aas_core3_2.xmlization.range_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RangeMetadata[source]
Read an instance of
types.RangeMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.range_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeMetadataread fromiterator
- aas_core3_2.xmlization.range_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeMetadata[source]
Read an instance of
types.RangeMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.range_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RangeMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeMetadataread fromstream
- aas_core3_2.xmlization.range_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeMetadata[source]
Read an instance of
types.RangeMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.range_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RangeMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeMetadataread frompath
- aas_core3_2.xmlization.range_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeMetadata[source]
Read an instance of
types.RangeMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.range_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RangeMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeMetadataread fromtext
- aas_core3_2.xmlization.blob_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BlobMetadata[source]
Read an instance of
types.BlobMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.blob_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobMetadataread fromiterator
- aas_core3_2.xmlization.blob_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobMetadata[source]
Read an instance of
types.BlobMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.blob_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BlobMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobMetadataread fromstream
- aas_core3_2.xmlization.blob_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobMetadata[source]
Read an instance of
types.BlobMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.blob_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BlobMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobMetadataread frompath
- aas_core3_2.xmlization.blob_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobMetadata[source]
Read an instance of
types.BlobMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.blob_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BlobMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobMetadataread fromtext
- aas_core3_2.xmlization.file_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) FileMetadata[source]
Read an instance of
types.FileMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.file_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileMetadataread fromiterator
- aas_core3_2.xmlization.file_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileMetadata[source]
Read an instance of
types.FileMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.file_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.FileMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileMetadataread fromstream
- aas_core3_2.xmlization.file_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileMetadata[source]
Read an instance of
types.FileMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.file_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.FileMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileMetadataread frompath
- aas_core3_2.xmlization.file_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileMetadata[source]
Read an instance of
types.FileMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.file_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.FileMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileMetadataread fromtext
- aas_core3_2.xmlization.multi_language_property_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) MultiLanguagePropertyMetadata[source]
Read an instance of
types.MultiLanguagePropertyMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.multi_language_property_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyMetadataread fromiterator
- aas_core3_2.xmlization.multi_language_property_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguagePropertyMetadata[source]
Read an instance of
types.MultiLanguagePropertyMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.multi_language_property_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.MultiLanguagePropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyMetadataread fromstream
- aas_core3_2.xmlization.multi_language_property_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguagePropertyMetadata[source]
Read an instance of
types.MultiLanguagePropertyMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.multi_language_property_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.MultiLanguagePropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyMetadataread frompath
- aas_core3_2.xmlization.multi_language_property_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MultiLanguagePropertyMetadata[source]
Read an instance of
types.MultiLanguagePropertyMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.multi_language_property_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.MultiLanguagePropertyMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MultiLanguagePropertyMetadataread fromtext
- aas_core3_2.xmlization.reference_element_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ReferenceElementMetadata[source]
Read an instance of
types.ReferenceElementMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.reference_element_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementMetadataread fromiterator
- aas_core3_2.xmlization.reference_element_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementMetadata[source]
Read an instance of
types.ReferenceElementMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.reference_element_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ReferenceElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementMetadataread fromstream
- aas_core3_2.xmlization.reference_element_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementMetadata[source]
Read an instance of
types.ReferenceElementMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.reference_element_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ReferenceElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementMetadataread frompath
- aas_core3_2.xmlization.reference_element_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementMetadata[source]
Read an instance of
types.ReferenceElementMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.reference_element_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ReferenceElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementMetadataread fromtext
- aas_core3_2.xmlization.relationship_element_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RelationshipElementMetadata[source]
Read an instance of
types.RelationshipElementMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.relationship_element_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementMetadataread fromiterator
- aas_core3_2.xmlization.relationship_element_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementMetadata[source]
Read an instance of
types.RelationshipElementMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.relationship_element_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementMetadataread fromstream
- aas_core3_2.xmlization.relationship_element_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementMetadata[source]
Read an instance of
types.RelationshipElementMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.relationship_element_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementMetadataread frompath
- aas_core3_2.xmlization.relationship_element_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementMetadata[source]
Read an instance of
types.RelationshipElementMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.relationship_element_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementMetadataread fromtext
- aas_core3_2.xmlization.annotated_relationship_element_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AnnotatedRelationshipElementMetadata[source]
Read an instance of
types.AnnotatedRelationshipElementMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.annotated_relationship_element_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementMetadataread fromiterator
- aas_core3_2.xmlization.annotated_relationship_element_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementMetadata[source]
Read an instance of
types.AnnotatedRelationshipElementMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.annotated_relationship_element_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AnnotatedRelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementMetadataread fromstream
- aas_core3_2.xmlization.annotated_relationship_element_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementMetadata[source]
Read an instance of
types.AnnotatedRelationshipElementMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.annotated_relationship_element_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AnnotatedRelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementMetadataread frompath
- aas_core3_2.xmlization.annotated_relationship_element_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementMetadata[source]
Read an instance of
types.AnnotatedRelationshipElementMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.annotated_relationship_element_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AnnotatedRelationshipElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementMetadataread fromtext
- aas_core3_2.xmlization.entity_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EntityMetadata[source]
Read an instance of
types.EntityMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.entity_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityMetadataread fromiterator
- aas_core3_2.xmlization.entity_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityMetadata[source]
Read an instance of
types.EntityMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.entity_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EntityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityMetadataread fromstream
- aas_core3_2.xmlization.entity_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityMetadata[source]
Read an instance of
types.EntityMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.entity_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EntityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityMetadataread frompath
- aas_core3_2.xmlization.entity_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityMetadata[source]
Read an instance of
types.EntityMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.entity_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EntityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityMetadataread fromtext
- aas_core3_2.xmlization.capability_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) CapabilityMetadata[source]
Read an instance of
types.CapabilityMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.capability_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.CapabilityMetadataread fromiterator
- aas_core3_2.xmlization.capability_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) CapabilityMetadata[source]
Read an instance of
types.CapabilityMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.capability_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.CapabilityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.CapabilityMetadataread fromstream
- aas_core3_2.xmlization.capability_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) CapabilityMetadata[source]
Read an instance of
types.CapabilityMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.capability_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.CapabilityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.CapabilityMetadataread frompath
- aas_core3_2.xmlization.capability_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) CapabilityMetadata[source]
Read an instance of
types.CapabilityMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.capability_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.CapabilityMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.CapabilityMetadataread fromtext
- aas_core3_2.xmlization.operation_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OperationMetadata[source]
Read an instance of
types.OperationMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.operation_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationMetadataread fromiterator
- aas_core3_2.xmlization.operation_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationMetadata[source]
Read an instance of
types.OperationMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.operation_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OperationMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationMetadataread fromstream
- aas_core3_2.xmlization.operation_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationMetadata[source]
Read an instance of
types.OperationMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.operation_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OperationMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationMetadataread frompath
- aas_core3_2.xmlization.operation_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OperationMetadata[source]
Read an instance of
types.OperationMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.operation_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OperationMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OperationMetadataread fromtext
- aas_core3_2.xmlization.submodel_element_collection_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementCollectionMetadata[source]
Read an instance of
types.SubmodelElementCollectionMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_collection_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionMetadataread fromiterator
- aas_core3_2.xmlization.submodel_element_collection_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollectionMetadata[source]
Read an instance of
types.SubmodelElementCollectionMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_collection_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementCollectionMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionMetadataread fromstream
- aas_core3_2.xmlization.submodel_element_collection_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollectionMetadata[source]
Read an instance of
types.SubmodelElementCollectionMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_collection_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementCollectionMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionMetadataread frompath
- aas_core3_2.xmlization.submodel_element_collection_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementCollectionMetadata[source]
Read an instance of
types.SubmodelElementCollectionMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_collection_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementCollectionMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementCollectionMetadataread fromtext
- aas_core3_2.xmlization.basic_event_element_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BasicEventElementMetadata[source]
Read an instance of
types.BasicEventElementMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.basic_event_element_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementMetadataread fromiterator
- aas_core3_2.xmlization.basic_event_element_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementMetadata[source]
Read an instance of
types.BasicEventElementMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.basic_event_element_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BasicEventElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementMetadataread fromstream
- aas_core3_2.xmlization.basic_event_element_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementMetadata[source]
Read an instance of
types.BasicEventElementMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.basic_event_element_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BasicEventElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementMetadataread frompath
- aas_core3_2.xmlization.basic_event_element_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementMetadata[source]
Read an instance of
types.BasicEventElementMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.basic_event_element_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BasicEventElementMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementMetadataread fromtext
- aas_core3_2.xmlization.submodel_element_list_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelElementListMetadata[source]
Read an instance of
types.SubmodelElementListMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_element_list_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListMetadataread fromiterator
- aas_core3_2.xmlization.submodel_element_list_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementListMetadata[source]
Read an instance of
types.SubmodelElementListMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_element_list_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelElementListMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListMetadataread fromstream
- aas_core3_2.xmlization.submodel_element_list_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementListMetadata[source]
Read an instance of
types.SubmodelElementListMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_element_list_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelElementListMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListMetadataread frompath
- aas_core3_2.xmlization.submodel_element_list_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelElementListMetadata[source]
Read an instance of
types.SubmodelElementListMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_element_list_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelElementListMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelElementListMetadataread fromtext
- aas_core3_2.xmlization.submodel_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) SubmodelMetadata[source]
Read an instance of
types.SubmodelMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.submodel_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelMetadataread fromiterator
- aas_core3_2.xmlization.submodel_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelMetadata[source]
Read an instance of
types.SubmodelMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.submodel_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.SubmodelMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelMetadataread fromstream
- aas_core3_2.xmlization.submodel_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelMetadata[source]
Read an instance of
types.SubmodelMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.submodel_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.SubmodelMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelMetadataread frompath
- aas_core3_2.xmlization.submodel_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) SubmodelMetadata[source]
Read an instance of
types.SubmodelMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.submodel_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.SubmodelMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.SubmodelMetadataread fromtext
- aas_core3_2.xmlization.asset_administration_shell_metadata_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AssetAdministrationShellMetadata[source]
Read an instance of
types.AssetAdministrationShellMetadatafrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.asset_administration_shell_metadata_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellMetadataread fromiterator
- aas_core3_2.xmlization.asset_administration_shell_metadata_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellMetadata[source]
Read an instance of
types.AssetAdministrationShellMetadatafrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.asset_administration_shell_metadata_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AssetAdministrationShellMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellMetadataread fromstream
- aas_core3_2.xmlization.asset_administration_shell_metadata_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellMetadata[source]
Read an instance of
types.AssetAdministrationShellMetadatafrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.asset_administration_shell_metadata_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AssetAdministrationShellMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellMetadataread frompath
- aas_core3_2.xmlization.asset_administration_shell_metadata_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AssetAdministrationShellMetadata[source]
Read an instance of
types.AssetAdministrationShellMetadatafrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.asset_administration_shell_metadata_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AssetAdministrationShellMetadatain XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AssetAdministrationShellMetadataread fromtext
- aas_core3_2.xmlization.reference_element_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ReferenceElementValue[source]
Read an instance of
types.ReferenceElementValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.reference_element_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementValueread fromiterator
- aas_core3_2.xmlization.reference_element_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementValue[source]
Read an instance of
types.ReferenceElementValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.reference_element_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ReferenceElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementValueread fromstream
- aas_core3_2.xmlization.reference_element_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementValue[source]
Read an instance of
types.ReferenceElementValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.reference_element_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ReferenceElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementValueread frompath
- aas_core3_2.xmlization.reference_element_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceElementValue[source]
Read an instance of
types.ReferenceElementValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.reference_element_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ReferenceElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceElementValueread fromtext
- aas_core3_2.xmlization.blob_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BlobValue[source]
Read an instance of
types.BlobValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.blob_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobValueread fromiterator
- aas_core3_2.xmlization.blob_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobValue[source]
Read an instance of
types.BlobValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.blob_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BlobValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobValueread fromstream
- aas_core3_2.xmlization.blob_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobValue[source]
Read an instance of
types.BlobValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.blob_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BlobValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobValueread frompath
- aas_core3_2.xmlization.blob_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BlobValue[source]
Read an instance of
types.BlobValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.blob_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BlobValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BlobValueread fromtext
- aas_core3_2.xmlization.file_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) FileValue[source]
Read an instance of
types.FileValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.file_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileValueread fromiterator
- aas_core3_2.xmlization.file_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileValue[source]
Read an instance of
types.FileValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.file_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.FileValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileValueread fromstream
- aas_core3_2.xmlization.file_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileValue[source]
Read an instance of
types.FileValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.file_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.FileValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileValueread frompath
- aas_core3_2.xmlization.file_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FileValue[source]
Read an instance of
types.FileValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.file_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.FileValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FileValueread fromtext
- aas_core3_2.xmlization.range_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RangeValue[source]
Read an instance of
types.RangeValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.range_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeValueread fromiterator
- aas_core3_2.xmlization.range_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeValue[source]
Read an instance of
types.RangeValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.range_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RangeValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeValueread fromstream
- aas_core3_2.xmlization.range_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeValue[source]
Read an instance of
types.RangeValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.range_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RangeValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeValueread frompath
- aas_core3_2.xmlization.range_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RangeValue[source]
Read an instance of
types.RangeValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.range_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RangeValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RangeValueread fromtext
- aas_core3_2.xmlization.relationship_element_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RelationshipElementValue[source]
Read an instance of
types.RelationshipElementValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.relationship_element_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementValueread fromiterator
- aas_core3_2.xmlization.relationship_element_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementValue[source]
Read an instance of
types.RelationshipElementValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.relationship_element_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementValueread fromstream
- aas_core3_2.xmlization.relationship_element_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementValue[source]
Read an instance of
types.RelationshipElementValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.relationship_element_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementValueread frompath
- aas_core3_2.xmlization.relationship_element_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RelationshipElementValue[source]
Read an instance of
types.RelationshipElementValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.relationship_element_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RelationshipElementValueread fromtext
- aas_core3_2.xmlization.basic_event_element_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BasicEventElementValue[source]
Read an instance of
types.BasicEventElementValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.basic_event_element_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementValueread fromiterator
- aas_core3_2.xmlization.basic_event_element_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementValue[source]
Read an instance of
types.BasicEventElementValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.basic_event_element_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BasicEventElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementValueread fromstream
- aas_core3_2.xmlization.basic_event_element_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementValue[source]
Read an instance of
types.BasicEventElementValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.basic_event_element_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BasicEventElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementValueread frompath
- aas_core3_2.xmlization.basic_event_element_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BasicEventElementValue[source]
Read an instance of
types.BasicEventElementValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.basic_event_element_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BasicEventElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BasicEventElementValueread fromtext
- aas_core3_2.xmlization.annotated_relationship_element_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AnnotatedRelationshipElementValue[source]
Read an instance of
types.AnnotatedRelationshipElementValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.annotated_relationship_element_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementValueread fromiterator
- aas_core3_2.xmlization.annotated_relationship_element_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementValue[source]
Read an instance of
types.AnnotatedRelationshipElementValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.annotated_relationship_element_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AnnotatedRelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementValueread fromstream
- aas_core3_2.xmlization.annotated_relationship_element_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementValue[source]
Read an instance of
types.AnnotatedRelationshipElementValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.annotated_relationship_element_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AnnotatedRelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementValueread frompath
- aas_core3_2.xmlization.annotated_relationship_element_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AnnotatedRelationshipElementValue[source]
Read an instance of
types.AnnotatedRelationshipElementValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.annotated_relationship_element_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AnnotatedRelationshipElementValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AnnotatedRelationshipElementValueread fromtext
- aas_core3_2.xmlization.entity_value_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EntityValue[source]
Read an instance of
types.EntityValuefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.entity_value_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityValueread fromiterator
- aas_core3_2.xmlization.entity_value_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityValue[source]
Read an instance of
types.EntityValuefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.entity_value_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EntityValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityValueread fromstream
- aas_core3_2.xmlization.entity_value_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityValue[source]
Read an instance of
types.EntityValuefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.entity_value_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EntityValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityValueread frompath
- aas_core3_2.xmlization.entity_value_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EntityValue[source]
Read an instance of
types.EntityValuefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.entity_value_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EntityValuein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EntityValueread fromtext
- aas_core3_2.xmlization.get_asset_administration_shells_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAssetAdministrationShellsResult[source]
Read an instance of
types.GetAssetAdministrationShellsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_asset_administration_shells_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsResultread fromiterator
- aas_core3_2.xmlization.get_asset_administration_shells_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsResult[source]
Read an instance of
types.GetAssetAdministrationShellsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_asset_administration_shells_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAssetAdministrationShellsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsResultread fromstream
- aas_core3_2.xmlization.get_asset_administration_shells_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsResult[source]
Read an instance of
types.GetAssetAdministrationShellsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_asset_administration_shells_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAssetAdministrationShellsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsResultread frompath
- aas_core3_2.xmlization.get_asset_administration_shells_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsResult[source]
Read an instance of
types.GetAssetAdministrationShellsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_asset_administration_shells_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAssetAdministrationShellsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsResultread fromtext
- aas_core3_2.xmlization.get_asset_administration_shells_metadata_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAssetAdministrationShellsMetadataResult[source]
Read an instance of
types.GetAssetAdministrationShellsMetadataResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_asset_administration_shells_metadata_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsMetadataResultread fromiterator
- aas_core3_2.xmlization.get_asset_administration_shells_metadata_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsMetadataResult[source]
Read an instance of
types.GetAssetAdministrationShellsMetadataResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_asset_administration_shells_metadata_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAssetAdministrationShellsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsMetadataResultread fromstream
- aas_core3_2.xmlization.get_asset_administration_shells_metadata_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsMetadataResult[source]
Read an instance of
types.GetAssetAdministrationShellsMetadataResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_asset_administration_shells_metadata_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAssetAdministrationShellsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsMetadataResultread frompath
- aas_core3_2.xmlization.get_asset_administration_shells_metadata_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellsMetadataResult[source]
Read an instance of
types.GetAssetAdministrationShellsMetadataResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_asset_administration_shells_metadata_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAssetAdministrationShellsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellsMetadataResultread fromtext
- aas_core3_2.xmlization.get_all_asset_administration_shells_recent_changes_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAllAssetAdministrationShellsRecentChangesResult[source]
Read an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_all_asset_administration_shells_recent_changes_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllAssetAdministrationShellsRecentChangesResultread fromiterator
- aas_core3_2.xmlization.get_all_asset_administration_shells_recent_changes_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllAssetAdministrationShellsRecentChangesResult[source]
Read an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_all_asset_administration_shells_recent_changes_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllAssetAdministrationShellsRecentChangesResultread fromstream
- aas_core3_2.xmlization.get_all_asset_administration_shells_recent_changes_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllAssetAdministrationShellsRecentChangesResult[source]
Read an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_all_asset_administration_shells_recent_changes_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllAssetAdministrationShellsRecentChangesResultread frompath
- aas_core3_2.xmlization.get_all_asset_administration_shells_recent_changes_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllAssetAdministrationShellsRecentChangesResult[source]
Read an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_all_asset_administration_shells_recent_changes_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllAssetAdministrationShellsRecentChangesResultread fromtext
- aas_core3_2.xmlization.get_asset_administration_shell_descriptors_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAssetAdministrationShellDescriptorsResult[source]
Read an instance of
types.GetAssetAdministrationShellDescriptorsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_asset_administration_shell_descriptors_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellDescriptorsResultread fromiterator
- aas_core3_2.xmlization.get_asset_administration_shell_descriptors_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellDescriptorsResult[source]
Read an instance of
types.GetAssetAdministrationShellDescriptorsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_asset_administration_shell_descriptors_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAssetAdministrationShellDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellDescriptorsResultread fromstream
- aas_core3_2.xmlization.get_asset_administration_shell_descriptors_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellDescriptorsResult[source]
Read an instance of
types.GetAssetAdministrationShellDescriptorsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_asset_administration_shell_descriptors_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAssetAdministrationShellDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellDescriptorsResultread frompath
- aas_core3_2.xmlization.get_asset_administration_shell_descriptors_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAssetAdministrationShellDescriptorsResult[source]
Read an instance of
types.GetAssetAdministrationShellDescriptorsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_asset_administration_shell_descriptors_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAssetAdministrationShellDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAssetAdministrationShellDescriptorsResultread fromtext
- aas_core3_2.xmlization.get_concept_descriptions_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetConceptDescriptionsResult[source]
Read an instance of
types.GetConceptDescriptionsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_concept_descriptions_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetConceptDescriptionsResultread fromiterator
- aas_core3_2.xmlization.get_concept_descriptions_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetConceptDescriptionsResult[source]
Read an instance of
types.GetConceptDescriptionsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_concept_descriptions_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetConceptDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetConceptDescriptionsResultread fromstream
- aas_core3_2.xmlization.get_concept_descriptions_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetConceptDescriptionsResult[source]
Read an instance of
types.GetConceptDescriptionsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_concept_descriptions_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetConceptDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetConceptDescriptionsResultread frompath
- aas_core3_2.xmlization.get_concept_descriptions_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetConceptDescriptionsResult[source]
Read an instance of
types.GetConceptDescriptionsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_concept_descriptions_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetConceptDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetConceptDescriptionsResultread fromtext
- aas_core3_2.xmlization.get_all_concept_descriptions_recent_changes_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAllConceptDescriptionsRecentChangesResult[source]
Read an instance of
types.GetAllConceptDescriptionsRecentChangesResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_all_concept_descriptions_recent_changes_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllConceptDescriptionsRecentChangesResultread fromiterator
- aas_core3_2.xmlization.get_all_concept_descriptions_recent_changes_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllConceptDescriptionsRecentChangesResult[source]
Read an instance of
types.GetAllConceptDescriptionsRecentChangesResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_all_concept_descriptions_recent_changes_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAllConceptDescriptionsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllConceptDescriptionsRecentChangesResultread fromstream
- aas_core3_2.xmlization.get_all_concept_descriptions_recent_changes_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllConceptDescriptionsRecentChangesResult[source]
Read an instance of
types.GetAllConceptDescriptionsRecentChangesResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_all_concept_descriptions_recent_changes_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAllConceptDescriptionsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllConceptDescriptionsRecentChangesResultread frompath
- aas_core3_2.xmlization.get_all_concept_descriptions_recent_changes_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllConceptDescriptionsRecentChangesResult[source]
Read an instance of
types.GetAllConceptDescriptionsRecentChangesResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_all_concept_descriptions_recent_changes_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAllConceptDescriptionsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllConceptDescriptionsRecentChangesResultread fromtext
- aas_core3_2.xmlization.get_package_descriptions_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetPackageDescriptionsResult[source]
Read an instance of
types.GetPackageDescriptionsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_package_descriptions_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPackageDescriptionsResultread fromiterator
- aas_core3_2.xmlization.get_package_descriptions_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPackageDescriptionsResult[source]
Read an instance of
types.GetPackageDescriptionsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_package_descriptions_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetPackageDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPackageDescriptionsResultread fromstream
- aas_core3_2.xmlization.get_package_descriptions_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPackageDescriptionsResult[source]
Read an instance of
types.GetPackageDescriptionsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_package_descriptions_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetPackageDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPackageDescriptionsResultread frompath
- aas_core3_2.xmlization.get_package_descriptions_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPackageDescriptionsResult[source]
Read an instance of
types.GetPackageDescriptionsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_package_descriptions_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetPackageDescriptionsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPackageDescriptionsResultread fromtext
- aas_core3_2.xmlization.get_path_items_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetPathItemsResult[source]
Read an instance of
types.GetPathItemsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_path_items_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPathItemsResultread fromiterator
- aas_core3_2.xmlization.get_path_items_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPathItemsResult[source]
Read an instance of
types.GetPathItemsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_path_items_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetPathItemsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPathItemsResultread fromstream
- aas_core3_2.xmlization.get_path_items_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPathItemsResult[source]
Read an instance of
types.GetPathItemsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_path_items_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetPathItemsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPathItemsResultread frompath
- aas_core3_2.xmlization.get_path_items_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetPathItemsResult[source]
Read an instance of
types.GetPathItemsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_path_items_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetPathItemsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetPathItemsResultread fromtext
- aas_core3_2.xmlization.get_references_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetReferencesResult[source]
Read an instance of
types.GetReferencesResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_references_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetReferencesResultread fromiterator
- aas_core3_2.xmlization.get_references_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetReferencesResult[source]
Read an instance of
types.GetReferencesResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_references_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetReferencesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetReferencesResultread fromstream
- aas_core3_2.xmlization.get_references_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetReferencesResult[source]
Read an instance of
types.GetReferencesResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_references_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetReferencesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetReferencesResultread frompath
- aas_core3_2.xmlization.get_references_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetReferencesResult[source]
Read an instance of
types.GetReferencesResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_references_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetReferencesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetReferencesResultread fromtext
- aas_core3_2.xmlization.get_submodel_descriptors_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelDescriptorsResult[source]
Read an instance of
types.GetSubmodelDescriptorsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodel_descriptors_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelDescriptorsResultread fromiterator
- aas_core3_2.xmlization.get_submodel_descriptors_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelDescriptorsResult[source]
Read an instance of
types.GetSubmodelDescriptorsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodel_descriptors_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelDescriptorsResultread fromstream
- aas_core3_2.xmlization.get_submodel_descriptors_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelDescriptorsResult[source]
Read an instance of
types.GetSubmodelDescriptorsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodel_descriptors_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelDescriptorsResultread frompath
- aas_core3_2.xmlization.get_submodel_descriptors_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelDescriptorsResult[source]
Read an instance of
types.GetSubmodelDescriptorsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodel_descriptors_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelDescriptorsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelDescriptorsResultread fromtext
- aas_core3_2.xmlization.get_submodel_elements_metadata_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelElementsMetadataResult[source]
Read an instance of
types.GetSubmodelElementsMetadataResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodel_elements_metadata_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsMetadataResultread fromiterator
- aas_core3_2.xmlization.get_submodel_elements_metadata_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsMetadataResult[source]
Read an instance of
types.GetSubmodelElementsMetadataResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodel_elements_metadata_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelElementsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsMetadataResultread fromstream
- aas_core3_2.xmlization.get_submodel_elements_metadata_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsMetadataResult[source]
Read an instance of
types.GetSubmodelElementsMetadataResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodel_elements_metadata_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelElementsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsMetadataResultread frompath
- aas_core3_2.xmlization.get_submodel_elements_metadata_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsMetadataResult[source]
Read an instance of
types.GetSubmodelElementsMetadataResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodel_elements_metadata_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelElementsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsMetadataResultread fromtext
- aas_core3_2.xmlization.get_submodel_elements_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelElementsResult[source]
Read an instance of
types.GetSubmodelElementsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodel_elements_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsResultread fromiterator
- aas_core3_2.xmlization.get_submodel_elements_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsResult[source]
Read an instance of
types.GetSubmodelElementsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodel_elements_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelElementsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsResultread fromstream
- aas_core3_2.xmlization.get_submodel_elements_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsResult[source]
Read an instance of
types.GetSubmodelElementsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodel_elements_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelElementsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsResultread frompath
- aas_core3_2.xmlization.get_submodel_elements_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsResult[source]
Read an instance of
types.GetSubmodelElementsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodel_elements_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelElementsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsResultread fromtext
- aas_core3_2.xmlization.get_submodel_elements_value_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelElementsValueResult[source]
Read an instance of
types.GetSubmodelElementsValueResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodel_elements_value_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsValueResultread fromiterator
- aas_core3_2.xmlization.get_submodel_elements_value_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsValueResult[source]
Read an instance of
types.GetSubmodelElementsValueResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodel_elements_value_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelElementsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsValueResultread fromstream
- aas_core3_2.xmlization.get_submodel_elements_value_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsValueResult[source]
Read an instance of
types.GetSubmodelElementsValueResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodel_elements_value_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelElementsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsValueResultread frompath
- aas_core3_2.xmlization.get_submodel_elements_value_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelElementsValueResult[source]
Read an instance of
types.GetSubmodelElementsValueResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodel_elements_value_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelElementsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelElementsValueResultread fromtext
- aas_core3_2.xmlization.get_all_submodels_recent_changes_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetAllSubmodelsRecentChangesResult[source]
Read an instance of
types.GetAllSubmodelsRecentChangesResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_all_submodels_recent_changes_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllSubmodelsRecentChangesResultread fromiterator
- aas_core3_2.xmlization.get_all_submodels_recent_changes_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllSubmodelsRecentChangesResult[source]
Read an instance of
types.GetAllSubmodelsRecentChangesResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_all_submodels_recent_changes_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetAllSubmodelsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllSubmodelsRecentChangesResultread fromstream
- aas_core3_2.xmlization.get_all_submodels_recent_changes_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllSubmodelsRecentChangesResult[source]
Read an instance of
types.GetAllSubmodelsRecentChangesResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_all_submodels_recent_changes_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetAllSubmodelsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllSubmodelsRecentChangesResultread frompath
- aas_core3_2.xmlization.get_all_submodels_recent_changes_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetAllSubmodelsRecentChangesResult[source]
Read an instance of
types.GetAllSubmodelsRecentChangesResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_all_submodels_recent_changes_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetAllSubmodelsRecentChangesResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetAllSubmodelsRecentChangesResultread fromtext
- aas_core3_2.xmlization.get_submodels_metadata_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelsMetadataResult[source]
Read an instance of
types.GetSubmodelsMetadataResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodels_metadata_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsMetadataResultread fromiterator
- aas_core3_2.xmlization.get_submodels_metadata_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsMetadataResult[source]
Read an instance of
types.GetSubmodelsMetadataResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodels_metadata_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsMetadataResultread fromstream
- aas_core3_2.xmlization.get_submodels_metadata_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsMetadataResult[source]
Read an instance of
types.GetSubmodelsMetadataResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodels_metadata_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsMetadataResultread frompath
- aas_core3_2.xmlization.get_submodels_metadata_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsMetadataResult[source]
Read an instance of
types.GetSubmodelsMetadataResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodels_metadata_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelsMetadataResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsMetadataResultread fromtext
- aas_core3_2.xmlization.get_submodels_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelsResult[source]
Read an instance of
types.GetSubmodelsResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodels_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsResultread fromiterator
- aas_core3_2.xmlization.get_submodels_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsResult[source]
Read an instance of
types.GetSubmodelsResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodels_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsResultread fromstream
- aas_core3_2.xmlization.get_submodels_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsResult[source]
Read an instance of
types.GetSubmodelsResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodels_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsResultread frompath
- aas_core3_2.xmlization.get_submodels_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsResult[source]
Read an instance of
types.GetSubmodelsResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodels_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelsResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsResultread fromtext
- aas_core3_2.xmlization.get_submodels_value_result_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GetSubmodelsValueResult[source]
Read an instance of
types.GetSubmodelsValueResultfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.get_submodels_value_result_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsValueResultread fromiterator
- aas_core3_2.xmlization.get_submodels_value_result_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsValueResult[source]
Read an instance of
types.GetSubmodelsValueResultfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.get_submodels_value_result_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GetSubmodelsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsValueResultread fromstream
- aas_core3_2.xmlization.get_submodels_value_result_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsValueResult[source]
Read an instance of
types.GetSubmodelsValueResultfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.get_submodels_value_result_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GetSubmodelsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsValueResultread frompath
- aas_core3_2.xmlization.get_submodels_value_result_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GetSubmodelsValueResult[source]
Read an instance of
types.GetSubmodelsValueResultfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.get_submodels_value_result_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GetSubmodelsValueResultin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GetSubmodelsValueResultread fromtext
- aas_core3_2.xmlization.claim_attribute_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ClaimAttribute[source]
Read an instance of
types.ClaimAttributefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.claim_attribute_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ClaimAttributeread fromiterator
- aas_core3_2.xmlization.claim_attribute_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ClaimAttribute[source]
Read an instance of
types.ClaimAttributefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.claim_attribute_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ClaimAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ClaimAttributeread fromstream
- aas_core3_2.xmlization.claim_attribute_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ClaimAttribute[source]
Read an instance of
types.ClaimAttributefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.claim_attribute_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ClaimAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ClaimAttributeread frompath
- aas_core3_2.xmlization.claim_attribute_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ClaimAttribute[source]
Read an instance of
types.ClaimAttributefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.claim_attribute_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ClaimAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ClaimAttributeread fromtext
- aas_core3_2.xmlization.global_attribute_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GlobalAttribute[source]
Read an instance of
types.GlobalAttributefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.global_attribute_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GlobalAttributeread fromiterator
- aas_core3_2.xmlization.global_attribute_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GlobalAttribute[source]
Read an instance of
types.GlobalAttributefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.global_attribute_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GlobalAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GlobalAttributeread fromstream
- aas_core3_2.xmlization.global_attribute_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GlobalAttribute[source]
Read an instance of
types.GlobalAttributefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.global_attribute_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GlobalAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GlobalAttributeread frompath
- aas_core3_2.xmlization.global_attribute_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GlobalAttribute[source]
Read an instance of
types.GlobalAttributefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.global_attribute_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GlobalAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GlobalAttributeread fromtext
- aas_core3_2.xmlization.reference_attribute_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ReferenceAttribute[source]
Read an instance of
types.ReferenceAttributefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.reference_attribute_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceAttributeread fromiterator
- aas_core3_2.xmlization.reference_attribute_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceAttribute[source]
Read an instance of
types.ReferenceAttributefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.reference_attribute_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ReferenceAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceAttributeread fromstream
- aas_core3_2.xmlization.reference_attribute_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceAttribute[source]
Read an instance of
types.ReferenceAttributefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.reference_attribute_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ReferenceAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceAttributeread frompath
- aas_core3_2.xmlization.reference_attribute_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ReferenceAttribute[source]
Read an instance of
types.ReferenceAttributefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.reference_attribute_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ReferenceAttributein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ReferenceAttributeread fromtext
- aas_core3_2.xmlization.date_time_attribute_item_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DateTimeAttributeItem[source]
Read an instance of
types.DateTimeAttributeItemfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.date_time_attribute_item_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeItemread fromiterator
- aas_core3_2.xmlization.date_time_attribute_item_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeItem[source]
Read an instance of
types.DateTimeAttributeItemfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.date_time_attribute_item_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DateTimeAttributeItemin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeItemread fromstream
- aas_core3_2.xmlization.date_time_attribute_item_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeItem[source]
Read an instance of
types.DateTimeAttributeItemfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.date_time_attribute_item_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DateTimeAttributeItemin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeItemread frompath
- aas_core3_2.xmlization.date_time_attribute_item_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeItem[source]
Read an instance of
types.DateTimeAttributeItemfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.date_time_attribute_item_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DateTimeAttributeItemin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeItemread fromtext
- aas_core3_2.xmlization.field_operand_from_iterparse(iterator: Iterator[Tuple[str, Element]]) FieldOperand[source]
Read an instance of
types.FieldOperandfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.field_operand_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FieldOperandread fromiterator
- aas_core3_2.xmlization.field_operand_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FieldOperand[source]
Read an instance of
types.FieldOperandfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.field_operand_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.FieldOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FieldOperandread fromstream
- aas_core3_2.xmlization.field_operand_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FieldOperand[source]
Read an instance of
types.FieldOperandfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.field_operand_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.FieldOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FieldOperandread frompath
- aas_core3_2.xmlization.field_operand_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) FieldOperand[source]
Read an instance of
types.FieldOperandfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.field_operand_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.FieldOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.FieldOperandread fromtext
- aas_core3_2.xmlization.string_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) StringLiteral[source]
Read an instance of
types.StringLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.string_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringLiteralread fromiterator
- aas_core3_2.xmlization.string_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringLiteral[source]
Read an instance of
types.StringLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.string_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.StringLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringLiteralread fromstream
- aas_core3_2.xmlization.string_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringLiteral[source]
Read an instance of
types.StringLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.string_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.StringLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringLiteralread frompath
- aas_core3_2.xmlization.string_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringLiteral[source]
Read an instance of
types.StringLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.string_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.StringLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringLiteralread fromtext
- aas_core3_2.xmlization.attribute_operand_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AttributeOperand[source]
Read an instance of
types.AttributeOperandfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.attribute_operand_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AttributeOperandread fromiterator
- aas_core3_2.xmlization.attribute_operand_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AttributeOperand[source]
Read an instance of
types.AttributeOperandfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.attribute_operand_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AttributeOperandread fromstream
- aas_core3_2.xmlization.attribute_operand_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AttributeOperand[source]
Read an instance of
types.AttributeOperandfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.attribute_operand_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AttributeOperandread frompath
- aas_core3_2.xmlization.attribute_operand_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AttributeOperand[source]
Read an instance of
types.AttributeOperandfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.attribute_operand_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AttributeOperandread fromtext
- aas_core3_2.xmlization.number_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) NumberLiteral[source]
Read an instance of
types.NumberLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.number_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberLiteralread fromiterator
- aas_core3_2.xmlization.number_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberLiteral[source]
Read an instance of
types.NumberLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.number_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.NumberLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberLiteralread fromstream
- aas_core3_2.xmlization.number_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberLiteral[source]
Read an instance of
types.NumberLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.number_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.NumberLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberLiteralread frompath
- aas_core3_2.xmlization.number_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberLiteral[source]
Read an instance of
types.NumberLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.number_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.NumberLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberLiteralread fromtext
- aas_core3_2.xmlization.hex_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HexLiteral[source]
Read an instance of
types.HexLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.hex_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexLiteralread fromiterator
- aas_core3_2.xmlization.hex_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexLiteral[source]
Read an instance of
types.HexLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.hex_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HexLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexLiteralread fromstream
- aas_core3_2.xmlization.hex_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexLiteral[source]
Read an instance of
types.HexLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.hex_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HexLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexLiteralread frompath
- aas_core3_2.xmlization.hex_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexLiteral[source]
Read an instance of
types.HexLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.hex_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HexLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexLiteralread fromtext
- aas_core3_2.xmlization.date_time_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DateTimeLiteral[source]
Read an instance of
types.DateTimeLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.date_time_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeLiteralread fromiterator
- aas_core3_2.xmlization.date_time_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeLiteral[source]
Read an instance of
types.DateTimeLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.date_time_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DateTimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeLiteralread fromstream
- aas_core3_2.xmlization.date_time_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeLiteral[source]
Read an instance of
types.DateTimeLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.date_time_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DateTimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeLiteralread frompath
- aas_core3_2.xmlization.date_time_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeLiteral[source]
Read an instance of
types.DateTimeLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.date_time_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DateTimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeLiteralread fromtext
- aas_core3_2.xmlization.time_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) TimeLiteral[source]
Read an instance of
types.TimeLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.time_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeLiteralread fromiterator
- aas_core3_2.xmlization.time_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeLiteral[source]
Read an instance of
types.TimeLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.time_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.TimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeLiteralread fromstream
- aas_core3_2.xmlization.time_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeLiteral[source]
Read an instance of
types.TimeLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.time_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.TimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeLiteralread frompath
- aas_core3_2.xmlization.time_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeLiteral[source]
Read an instance of
types.TimeLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.time_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.TimeLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeLiteralread fromtext
- aas_core3_2.xmlization.boolean_literal_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BooleanLiteral[source]
Read an instance of
types.BooleanLiteralfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.boolean_literal_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanLiteralread fromiterator
- aas_core3_2.xmlization.boolean_literal_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanLiteral[source]
Read an instance of
types.BooleanLiteralfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.boolean_literal_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BooleanLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanLiteralread fromstream
- aas_core3_2.xmlization.boolean_literal_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanLiteral[source]
Read an instance of
types.BooleanLiteralfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.boolean_literal_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BooleanLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanLiteralread frompath
- aas_core3_2.xmlization.boolean_literal_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanLiteral[source]
Read an instance of
types.BooleanLiteralfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.boolean_literal_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BooleanLiteralin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanLiteralread fromtext
- aas_core3_2.xmlization.string_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) StringCast[source]
Read an instance of
types.StringCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.string_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringCastread fromiterator
- aas_core3_2.xmlization.string_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringCast[source]
Read an instance of
types.StringCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.string_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.StringCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringCastread fromstream
- aas_core3_2.xmlization.string_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringCast[source]
Read an instance of
types.StringCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.string_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.StringCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringCastread frompath
- aas_core3_2.xmlization.string_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StringCast[source]
Read an instance of
types.StringCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.string_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.StringCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StringCastread fromtext
- aas_core3_2.xmlization.number_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) NumberCast[source]
Read an instance of
types.NumberCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.number_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberCastread fromiterator
- aas_core3_2.xmlization.number_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberCast[source]
Read an instance of
types.NumberCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.number_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.NumberCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberCastread fromstream
- aas_core3_2.xmlization.number_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberCast[source]
Read an instance of
types.NumberCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.number_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.NumberCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberCastread frompath
- aas_core3_2.xmlization.number_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NumberCast[source]
Read an instance of
types.NumberCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.number_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.NumberCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NumberCastread fromtext
- aas_core3_2.xmlization.hex_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) HexCast[source]
Read an instance of
types.HexCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.hex_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexCastread fromiterator
- aas_core3_2.xmlization.hex_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexCast[source]
Read an instance of
types.HexCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.hex_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.HexCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexCastread fromstream
- aas_core3_2.xmlization.hex_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexCast[source]
Read an instance of
types.HexCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.hex_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.HexCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexCastread frompath
- aas_core3_2.xmlization.hex_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) HexCast[source]
Read an instance of
types.HexCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.hex_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.HexCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.HexCastread fromtext
- aas_core3_2.xmlization.boolean_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) BooleanCast[source]
Read an instance of
types.BooleanCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.boolean_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanCastread fromiterator
- aas_core3_2.xmlization.boolean_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanCast[source]
Read an instance of
types.BooleanCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.boolean_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.BooleanCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanCastread fromstream
- aas_core3_2.xmlization.boolean_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanCast[source]
Read an instance of
types.BooleanCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.boolean_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.BooleanCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanCastread frompath
- aas_core3_2.xmlization.boolean_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) BooleanCast[source]
Read an instance of
types.BooleanCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.boolean_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.BooleanCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.BooleanCastread fromtext
- aas_core3_2.xmlization.date_time_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DateTimeCast[source]
Read an instance of
types.DateTimeCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.date_time_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeCastread fromiterator
- aas_core3_2.xmlization.date_time_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeCast[source]
Read an instance of
types.DateTimeCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.date_time_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DateTimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeCastread fromstream
- aas_core3_2.xmlization.date_time_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeCast[source]
Read an instance of
types.DateTimeCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.date_time_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DateTimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeCastread frompath
- aas_core3_2.xmlization.date_time_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeCast[source]
Read an instance of
types.DateTimeCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.date_time_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DateTimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeCastread fromtext
- aas_core3_2.xmlization.time_cast_from_iterparse(iterator: Iterator[Tuple[str, Element]]) TimeCast[source]
Read an instance of
types.TimeCastfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.time_cast_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeCastread fromiterator
- aas_core3_2.xmlization.time_cast_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeCast[source]
Read an instance of
types.TimeCastfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.time_cast_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.TimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeCastread fromstream
- aas_core3_2.xmlization.time_cast_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeCast[source]
Read an instance of
types.TimeCastfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.time_cast_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.TimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeCastread frompath
- aas_core3_2.xmlization.time_cast_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) TimeCast[source]
Read an instance of
types.TimeCastfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.time_cast_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.TimeCastin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.TimeCastread fromtext
- aas_core3_2.xmlization.day_of_week_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DayOfWeek[source]
Read an instance of
types.DayOfWeekfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.day_of_week_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfWeekread fromiterator
- aas_core3_2.xmlization.day_of_week_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfWeek[source]
Read an instance of
types.DayOfWeekfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.day_of_week_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DayOfWeekin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfWeekread fromstream
- aas_core3_2.xmlization.day_of_week_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfWeek[source]
Read an instance of
types.DayOfWeekfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.day_of_week_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DayOfWeekin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfWeekread frompath
- aas_core3_2.xmlization.day_of_week_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfWeek[source]
Read an instance of
types.DayOfWeekfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.day_of_week_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DayOfWeekin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfWeekread fromtext
- aas_core3_2.xmlization.day_of_month_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DayOfMonth[source]
Read an instance of
types.DayOfMonthfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.day_of_month_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfMonthread fromiterator
- aas_core3_2.xmlization.day_of_month_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfMonth[source]
Read an instance of
types.DayOfMonthfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.day_of_month_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DayOfMonthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfMonthread fromstream
- aas_core3_2.xmlization.day_of_month_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfMonth[source]
Read an instance of
types.DayOfMonthfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.day_of_month_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DayOfMonthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfMonthread frompath
- aas_core3_2.xmlization.day_of_month_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DayOfMonth[source]
Read an instance of
types.DayOfMonthfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.day_of_month_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DayOfMonthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DayOfMonthread fromtext
- aas_core3_2.xmlization.month_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Month[source]
Read an instance of
types.Monthfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.month_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Monthread fromiterator
- aas_core3_2.xmlization.month_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Month[source]
Read an instance of
types.Monthfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.month_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Monthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Monthread fromstream
- aas_core3_2.xmlization.month_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Month[source]
Read an instance of
types.Monthfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.month_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Monthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Monthread frompath
- aas_core3_2.xmlization.month_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Month[source]
Read an instance of
types.Monthfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.month_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Monthin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Monthread fromtext
- aas_core3_2.xmlization.year_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Year[source]
Read an instance of
types.Yearfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.year_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Yearread fromiterator
- aas_core3_2.xmlization.year_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Year[source]
Read an instance of
types.Yearfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.year_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Yearin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Yearread fromstream
- aas_core3_2.xmlization.year_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Year[source]
Read an instance of
types.Yearfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.year_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Yearin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Yearread frompath
- aas_core3_2.xmlization.year_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Year[source]
Read an instance of
types.Yearfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.year_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Yearin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Yearread fromtext
- aas_core3_2.xmlization.date_time_attribute_operand_from_iterparse(iterator: Iterator[Tuple[str, Element]]) DateTimeAttributeOperand[source]
Read an instance of
types.DateTimeAttributeOperandfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.date_time_attribute_operand_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeOperandread fromiterator
- aas_core3_2.xmlization.date_time_attribute_operand_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeOperand[source]
Read an instance of
types.DateTimeAttributeOperandfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.date_time_attribute_operand_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.DateTimeAttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeOperandread fromstream
- aas_core3_2.xmlization.date_time_attribute_operand_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeOperand[source]
Read an instance of
types.DateTimeAttributeOperandfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.date_time_attribute_operand_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.DateTimeAttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeOperandread frompath
- aas_core3_2.xmlization.date_time_attribute_operand_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) DateTimeAttributeOperand[source]
Read an instance of
types.DateTimeAttributeOperandfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.date_time_attribute_operand_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.DateTimeAttributeOperandin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.DateTimeAttributeOperandread fromtext
- aas_core3_2.xmlization.equal_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EqualComparison[source]
Read an instance of
types.EqualComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.equal_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EqualComparisonread fromiterator
- aas_core3_2.xmlization.equal_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EqualComparison[source]
Read an instance of
types.EqualComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.equal_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EqualComparisonread fromstream
- aas_core3_2.xmlization.equal_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EqualComparison[source]
Read an instance of
types.EqualComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.equal_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EqualComparisonread frompath
- aas_core3_2.xmlization.equal_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EqualComparison[source]
Read an instance of
types.EqualComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.equal_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EqualComparisonread fromtext
- aas_core3_2.xmlization.not_equal_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) NotEqualComparison[source]
Read an instance of
types.NotEqualComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.not_equal_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotEqualComparisonread fromiterator
- aas_core3_2.xmlization.not_equal_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotEqualComparison[source]
Read an instance of
types.NotEqualComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.not_equal_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.NotEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotEqualComparisonread fromstream
- aas_core3_2.xmlization.not_equal_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotEqualComparison[source]
Read an instance of
types.NotEqualComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.not_equal_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.NotEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotEqualComparisonread frompath
- aas_core3_2.xmlization.not_equal_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotEqualComparison[source]
Read an instance of
types.NotEqualComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.not_equal_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.NotEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotEqualComparisonread fromtext
- aas_core3_2.xmlization.greater_than_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GreaterThanComparison[source]
Read an instance of
types.GreaterThanComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.greater_than_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanComparisonread fromiterator
- aas_core3_2.xmlization.greater_than_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanComparison[source]
Read an instance of
types.GreaterThanComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.greater_than_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GreaterThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanComparisonread fromstream
- aas_core3_2.xmlization.greater_than_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanComparison[source]
Read an instance of
types.GreaterThanComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.greater_than_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GreaterThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanComparisonread frompath
- aas_core3_2.xmlization.greater_than_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanComparison[source]
Read an instance of
types.GreaterThanComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.greater_than_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GreaterThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanComparisonread fromtext
- aas_core3_2.xmlization.greater_than_or_equal_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) GreaterThanOrEqualComparison[source]
Read an instance of
types.GreaterThanOrEqualComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.greater_than_or_equal_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanOrEqualComparisonread fromiterator
- aas_core3_2.xmlization.greater_than_or_equal_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanOrEqualComparison[source]
Read an instance of
types.GreaterThanOrEqualComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.greater_than_or_equal_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.GreaterThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanOrEqualComparisonread fromstream
- aas_core3_2.xmlization.greater_than_or_equal_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanOrEqualComparison[source]
Read an instance of
types.GreaterThanOrEqualComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.greater_than_or_equal_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.GreaterThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanOrEqualComparisonread frompath
- aas_core3_2.xmlization.greater_than_or_equal_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) GreaterThanOrEqualComparison[source]
Read an instance of
types.GreaterThanOrEqualComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.greater_than_or_equal_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.GreaterThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.GreaterThanOrEqualComparisonread fromtext
- aas_core3_2.xmlization.less_than_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LessThanComparison[source]
Read an instance of
types.LessThanComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.less_than_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanComparisonread fromiterator
- aas_core3_2.xmlization.less_than_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanComparison[source]
Read an instance of
types.LessThanComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.less_than_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LessThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanComparisonread fromstream
- aas_core3_2.xmlization.less_than_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanComparison[source]
Read an instance of
types.LessThanComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.less_than_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LessThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanComparisonread frompath
- aas_core3_2.xmlization.less_than_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanComparison[source]
Read an instance of
types.LessThanComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.less_than_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LessThanComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanComparisonread fromtext
- aas_core3_2.xmlization.less_than_or_equal_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) LessThanOrEqualComparison[source]
Read an instance of
types.LessThanOrEqualComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.less_than_or_equal_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanOrEqualComparisonread fromiterator
- aas_core3_2.xmlization.less_than_or_equal_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanOrEqualComparison[source]
Read an instance of
types.LessThanOrEqualComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.less_than_or_equal_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.LessThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanOrEqualComparisonread fromstream
- aas_core3_2.xmlization.less_than_or_equal_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanOrEqualComparison[source]
Read an instance of
types.LessThanOrEqualComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.less_than_or_equal_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.LessThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanOrEqualComparisonread frompath
- aas_core3_2.xmlization.less_than_or_equal_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) LessThanOrEqualComparison[source]
Read an instance of
types.LessThanOrEqualComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.less_than_or_equal_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.LessThanOrEqualComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.LessThanOrEqualComparisonread fromtext
- aas_core3_2.xmlization.contains_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) ContainsComparison[source]
Read an instance of
types.ContainsComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.contains_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ContainsComparisonread fromiterator
- aas_core3_2.xmlization.contains_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ContainsComparison[source]
Read an instance of
types.ContainsComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.contains_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.ContainsComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ContainsComparisonread fromstream
- aas_core3_2.xmlization.contains_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ContainsComparison[source]
Read an instance of
types.ContainsComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.contains_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.ContainsComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ContainsComparisonread frompath
- aas_core3_2.xmlization.contains_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) ContainsComparison[source]
Read an instance of
types.ContainsComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.contains_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.ContainsComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.ContainsComparisonread fromtext
- aas_core3_2.xmlization.starts_with_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) StartsWithComparison[source]
Read an instance of
types.StartsWithComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.starts_with_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StartsWithComparisonread fromiterator
- aas_core3_2.xmlization.starts_with_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StartsWithComparison[source]
Read an instance of
types.StartsWithComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.starts_with_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.StartsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StartsWithComparisonread fromstream
- aas_core3_2.xmlization.starts_with_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StartsWithComparison[source]
Read an instance of
types.StartsWithComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.starts_with_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.StartsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StartsWithComparisonread frompath
- aas_core3_2.xmlization.starts_with_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) StartsWithComparison[source]
Read an instance of
types.StartsWithComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.starts_with_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.StartsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.StartsWithComparisonread fromtext
- aas_core3_2.xmlization.ends_with_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) EndsWithComparison[source]
Read an instance of
types.EndsWithComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.ends_with_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EndsWithComparisonread fromiterator
- aas_core3_2.xmlization.ends_with_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EndsWithComparison[source]
Read an instance of
types.EndsWithComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.ends_with_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.EndsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EndsWithComparisonread fromstream
- aas_core3_2.xmlization.ends_with_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EndsWithComparison[source]
Read an instance of
types.EndsWithComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.ends_with_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.EndsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EndsWithComparisonread frompath
- aas_core3_2.xmlization.ends_with_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) EndsWithComparison[source]
Read an instance of
types.EndsWithComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.ends_with_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.EndsWithComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.EndsWithComparisonread fromtext
- aas_core3_2.xmlization.regex_comparison_from_iterparse(iterator: Iterator[Tuple[str, Element]]) RegexComparison[source]
Read an instance of
types.RegexComparisonfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.regex_comparison_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RegexComparisonread fromiterator
- aas_core3_2.xmlization.regex_comparison_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RegexComparison[source]
Read an instance of
types.RegexComparisonfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.regex_comparison_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.RegexComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RegexComparisonread fromstream
- aas_core3_2.xmlization.regex_comparison_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RegexComparison[source]
Read an instance of
types.RegexComparisonfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.regex_comparison_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.RegexComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RegexComparisonread frompath
- aas_core3_2.xmlization.regex_comparison_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) RegexComparison[source]
Read an instance of
types.RegexComparisonfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.regex_comparison_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.RegexComparisonin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.RegexComparisonread fromtext
- aas_core3_2.xmlization.match_clause_from_iterparse(iterator: Iterator[Tuple[str, Element]]) MatchClause[source]
Read an instance of
types.MatchClausefrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.match_clause_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MatchClauseread fromiterator
- aas_core3_2.xmlization.match_clause_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MatchClause[source]
Read an instance of
types.MatchClausefrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.match_clause_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.MatchClausein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MatchClauseread fromstream
- aas_core3_2.xmlization.match_clause_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MatchClause[source]
Read an instance of
types.MatchClausefrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.match_clause_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.MatchClausein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MatchClauseread frompath
- aas_core3_2.xmlization.match_clause_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) MatchClause[source]
Read an instance of
types.MatchClausefrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.match_clause_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.MatchClausein XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.MatchClauseread fromtext
- aas_core3_2.xmlization.and_expression_from_iterparse(iterator: Iterator[Tuple[str, Element]]) AndExpression[source]
Read an instance of
types.AndExpressionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.and_expression_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AndExpressionread fromiterator
- aas_core3_2.xmlization.and_expression_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AndExpression[source]
Read an instance of
types.AndExpressionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.and_expression_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.AndExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AndExpressionread fromstream
- aas_core3_2.xmlization.and_expression_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AndExpression[source]
Read an instance of
types.AndExpressionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.and_expression_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.AndExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AndExpressionread frompath
- aas_core3_2.xmlization.and_expression_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) AndExpression[source]
Read an instance of
types.AndExpressionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.and_expression_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.AndExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.AndExpressionread fromtext
- aas_core3_2.xmlization.or_expression_from_iterparse(iterator: Iterator[Tuple[str, Element]]) OrExpression[source]
Read an instance of
types.OrExpressionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.or_expression_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OrExpressionread fromiterator
- aas_core3_2.xmlization.or_expression_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OrExpression[source]
Read an instance of
types.OrExpressionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.or_expression_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.OrExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OrExpressionread fromstream
- aas_core3_2.xmlization.or_expression_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OrExpression[source]
Read an instance of
types.OrExpressionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.or_expression_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.OrExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OrExpressionread frompath
- aas_core3_2.xmlization.or_expression_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) OrExpression[source]
Read an instance of
types.OrExpressionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.or_expression_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.OrExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.OrExpressionread fromtext
- aas_core3_2.xmlization.not_expression_from_iterparse(iterator: Iterator[Tuple[str, Element]]) NotExpression[source]
Read an instance of
types.NotExpressionfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.not_expression_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotExpressionread fromiterator
- aas_core3_2.xmlization.not_expression_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotExpression[source]
Read an instance of
types.NotExpressionfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.not_expression_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.NotExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotExpressionread fromstream
- aas_core3_2.xmlization.not_expression_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotExpression[source]
Read an instance of
types.NotExpressionfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.not_expression_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.NotExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotExpressionread frompath
- aas_core3_2.xmlization.not_expression_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) NotExpression[source]
Read an instance of
types.NotExpressionfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.not_expression_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.NotExpressionin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.NotExpressionread fromtext
- aas_core3_2.xmlization.query_filter_from_iterparse(iterator: Iterator[Tuple[str, Element]]) QueryFilter[source]
Read an instance of
types.QueryFilterfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.query_filter_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.QueryFilterread fromiterator
- aas_core3_2.xmlization.query_filter_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) QueryFilter[source]
Read an instance of
types.QueryFilterfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.query_filter_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.QueryFilterin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.QueryFilterread fromstream
- aas_core3_2.xmlization.query_filter_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) QueryFilter[source]
Read an instance of
types.QueryFilterfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.query_filter_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.QueryFilterin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.QueryFilterread frompath
- aas_core3_2.xmlization.query_filter_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) QueryFilter[source]
Read an instance of
types.QueryFilterfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.query_filter_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.QueryFilterin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.QueryFilterread fromtext
- aas_core3_2.xmlization.query_from_iterparse(iterator: Iterator[Tuple[str, Element]]) Query[source]
Read an instance of
types.Queryfrom theiterator.Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.query_from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Queryread fromiterator
- aas_core3_2.xmlization.query_from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Query[source]
Read an instance of
types.Queryfrom thestream.Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.query_from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance of
types.Queryin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Queryread fromstream
- aas_core3_2.xmlization.query_from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Query[source]
Read an instance of
types.Queryfrom thepath.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.query_from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance of
types.Queryin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Queryread frompath
- aas_core3_2.xmlization.query_from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Query[source]
Read an instance of
types.Queryfrom thetext.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.query_from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance of
types.Queryin XMLhas_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Queryread fromtext
- aas_core3_2.xmlization.from_iterparse(iterator: Iterator[Tuple[str, Element]]) Class[source]
Read an instance from the
iterator.The type of the instance is determined by the very first start element.
Example usage:
import pathlib import xml.etree.ElementTree as ET import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) with path.open("rt") as fid: iterator = ET.iterparse( source=fid, events=['start', 'end'] ) instance = our_xmlization.from_iterparse( iterator ) # Do something with the ``instance``
- Parameters
iterator¶ – Input stream of
(event, element)coming fromxml.etree.ElementTree.iterparse()with the argumentevents=["start", "end"]- Raise
DeserializationExceptionif unexpected input- Returns
Instance of
types.Classread from theiterator
- aas_core3_2.xmlization.from_stream(stream: ~typing.TextIO, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Class[source]
Read an instance from the
stream.The type of the instance is determined by the very first start element.
Example usage:
import aas_core3_2.xmlization as our_xmlization with open_some_stream_over_network(...) as stream: instance = our_xmlization.from_stream( stream ) # Do something with the ``instance``
- Parameters
stream¶ – representing an instance in XML
has_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance read from
stream
- aas_core3_2.xmlization.from_file(path: ~os.PathLike, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Class[source]
Read an instance from the file at the
path.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization path = pathlib.Path(...) instance = our_xmlization.from_file( path ) # Do something with the ``instance``
- Parameters
path¶ – to the file representing an instance in XML
has_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance read from the file at
path
- aas_core3_2.xmlization.from_str(text: str, has_iterparse: ~aas_core3_2.xmlcommon.HasIterparse = <module 'xml.etree.ElementTree' from '/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/xml/etree/ElementTree.py'>) Class[source]
Read an instance from the
text.Example usage:
import pathlib import aas_core3_2.xmlization as our_xmlization text = "<...>...</...>" instance = our_xmlization.from_str( text ) # Do something with the ``instance``
- Parameters
text¶ – representing an instance in XML
has_iterparse¶ –
Module containing
iterparsefunction.Default is to use
xml.etree.ElementTreefrom the standard library. If you have to deal with malicious input, consider using a library such as defusedxml.ElementTree.
- Raise
DeserializationExceptionif unexpected input- Returns
Instance read from
text
- aas_core3_2.xmlization.write(instance: Class, stream: TextIO) None[source]
Write the XML representation of
instancetostream.Example usage:
import pathlib import aas_core3_2.types as our_types import aas_core3_2.xmlization as our_xmlization instance = Extension( ... # some constructor arguments ) pth = pathlib.Path(...) with pth.open("wt") as fid: our_xmlization.write(instance, fid)