DiamondLightSource / DiamondLightSource/daq-queuing-service

Add get_next_task endpoint

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
1
Avg merge
1d 3h
Merged PRs (30d)
16

Description

A `get_next_task` endpoint should be added so that external services can retrieve the first task from the queue. This should return a blueapi call (`TaskRequest` object), not an experiment definition which you can already get by getting the task at position 0.

May be worth waiting for #15 to start this.

## Acceptance Criteria
- A `get_next_task` endpoint is exposed
- This endpoint returns a `TaskRequest` json blob

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.