ska_oso_oet.utils
The ska_oso_oet.utils.ui module contains common helper code for the UI layers.
- ska_oso_oet.utils.ui.convert_request_dict_to_procedure_input(fn_dict: dict) ProcedureInput [source]
Convert the dict of arguments for a single function into the domain.ProcedureInput
- Parameters:
fn_dict – Dict of the args and kwargs, eg {‘args’: [1, 2], ‘kwargs’: {‘subarray_id’: 42}}
- Returns:
The ProcedureInput, eg <ProcedureInput(1, 2, subarray_id=42)>