perun.backend.util ================== .. py:module:: perun.backend.util .. autoapi-nested-parse:: Backend util. Attributes ---------- .. autoapisummary:: perun.backend.util.log Functions --------- .. autoapisummary:: perun.backend.util.getHostMetadata perun.backend.util.getBackendMetadata Module Contents --------------- .. py:data:: log .. py:function:: getHostMetadata() -> Dict[str, Any] Return dictionary with the platform related metadata. :returns: Dictionary with host metadata. :rtype: Dict[str, Any] .. py:function:: getBackendMetadata(backends: Dict[str, perun.backend.backend.Backend], sensors: Dict[str, Tuple[str]]) -> Dict[str, Any] Get backend related metadata dictionary based on the current sensor configuration. :param backends: Dictionary with available backends :type backends: dict[str, Backend] :param sensors: Sensor backend configuration to include in the metadata object. :type sensors: Dict[str, Tuple[str]] :returns: Backend metadata dictionary. :rtype: Dict[str, Any]