infineac.file_loader.add_info_to_event#

infineac.file_loader.add_info_to_event(event: dict, element) dict[source]#

Adds information to given event based on the element of an xml file. Used by load_files_from_xml().

Parameters:
  • event (dict) – Event to which the information should be added.

  • element (lxml.etree.Element) – Element of an xml file.

Returns:

Dictionary containing the event with the added information.

Return type:

dict