cstar.system.scheduler.Scheduler.get_queue

Attention

This project is still in an early phase of development.

The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.

cstar.system.scheduler.Scheduler.get_queue#

Scheduler.get_queue(name) Queue#

Retrieve a queue by name.

Searches the list of queues managed by the scheduler for a queue with the given name.

Parameters:

name (str) – The name of the queue to retrieve.

Returns:

Queue – The queue instance matching the given name.

Raises:

ValueError – If the specified queue name is not found in the list of queues.