Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

QueueService

Pure queue operations service.

Handles adding/removing jobs. Can be called from any process (main or sub). No process awareness, no tick loop, no threading.

Functions
add_scenario_to_queue @classmethod

Validate and add scenario to queue.

scenario_id : str
The scenario id to add to the queue
Return type : Scenario
get_queue_jobs @classmethod

Get all jobs in queue.

Return type : list
remove_scenario_from_queue @classmethod

Remove scenario from queue and reset to DRAFT.

scenario_id : str
Return type : Scenario
scenario_is_in_queue @classmethod

Check if scenario is in queue.

scenario_id : str
Return type : bool
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.