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 ------- Dict[str, Any] Dictionary with host metadata. .. 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. Parameters ---------- backends : List[Backend] List with available backends. backendConfig : Dict[str, Set[str]] Sensor backend configuration to include in the metadata object. Returns ------- Dict[str, Any] Backend metadata dictionary.