perun.backend.util¶
Backend util.
Attributes¶
Functions¶
|
Return dictionary with the platform related metadata. |
|
Get backend related metadata dictionary based on the current sensor configuration. |
Module Contents¶
- perun.backend.util.getHostMetadata() Dict[str, Any][source]¶
Return dictionary with the platform related metadata.
- Returns:
Dictionary with host metadata.
- Return type:
Dict[str, Any]
- perun.backend.util.getBackendMetadata(backends: Dict[str, perun.backend.backend.Backend], sensors: Dict[str, Tuple[str]]) Dict[str, Any][source]¶
Get backend related metadata dictionary based on the current sensor configuration.
- Parameters:
backends (dict[str, Backend]) – Dictionary with available backends
sensors (Dict[str, Tuple[str]]) – Sensor backend configuration to include in the metadata object.
- Returns:
Backend metadata dictionary.
- Return type:
Dict[str, Any]