IBMCompositeJob.queue_position#

IBMCompositeJob.queue_position(refresh=False)[source]#

Return the position of the job in the server queue.

This method returns the queue position of the sub-job that is last in queue.

Note

The position returned is within the scope of the provider and may differ from the global queue position.

Parameters:

refresh (bool) – If True, re-query the server to get the latest value. Otherwise return the cached value.

Return type:

Optional[int]

Returns:

Position in the queue or None if position is unknown or not applicable.