DiamondLightSource / DiamondLightSource/daq-queuing-service

Add TaskID type

Open
#103 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

Currently task_id is typed as a str. It would be clearer for it to have it's own type, as we would then know when we are referring to a task ID in the code.

## Acceptance Criteria
- TaskID type added and used throughout the codebase

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by searching the codebase for task_id and its str annotations, then identify every definition and use that represents a task ID. Done means a TaskID type has been added and used throughout the codebase, with the existing test suite still passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.