pipeline.src.parsers.flux.utils =============================== .. py:module:: pipeline.src.parsers.flux.utils Attributes ---------- .. autoapisummary:: pipeline.src.parsers.flux.utils.NS_FLUX Functions --------- .. autoapisummary:: pipeline.src.parsers.flux.utils.get_element pipeline.src.parsers.flux.utils.get_text pipeline.src.parsers.flux.utils.make_datetime pipeline.src.parsers.flux.utils.remove_none_values Module Contents --------------- .. py:data:: NS_FLUX .. py:function:: get_element(xml_element: xml.etree.ElementTree.Element, xml_path: str) -> xml.etree.ElementTree.Element Returns the first element of `xml_element` that matches the provided `xml_path`. :param xml_element: xml element in which to search :type xml_element: ET.Element :param xml_path: path describing the searched element :type xml_path: str :returns: first element of the input `xml_element` that matches `xml_path` :rtype: ET.Element .. py:function:: get_text(xml_element, xml_path) .. py:function:: make_datetime(date: str) .. py:function:: remove_none_values(d: dict) -> dict