iqm.station_control.client.serializers.task_serializers.serialize_run_task_request

iqm.station_control.client.serializers.task_serializers.serialize_run_task_request#

serialize_run_task_request(run_definition, queue_name)#

Wrap run_definition and queue_name into a protobuf message and serialize into a bitstring.

Parameters:
  • run_definition (RunDefinition) – The content of the run.

  • queue_name (str) – Name of the destination queue.

Returns:

SweepTaskRequest encoded into a bitstring.

Return type:

bytes