@inspect_command(alias=u'dump_reserved')
def reserved(state, **kwargs):
 reserved_tasks = (state.tset(worker_state.reserved_requests) - state.tset(worker_state.active_requests))
 if (not reserved_tasks):
  return []
 return [request.info() for request in reserved_tasks]

@ inspect_command ( alias = u'dump_reserved' ) def reserved ( state , ** kwargs ) : reserved_tasks = ( state . tset ( worker_state . reserved_requests ) - state . tset ( worker_state . active_requests ) ) if ( not reserved_tasks ) : return [ ] return [ request . info ( ) for request in reserved_tasks ]
list of currently reserved tasks .