Skip to content

[refactor] Use fastapi.status instead of http.HTTPStatus in DiracX API #823

@Stellatsuu

Description

@Stellatsuu

Currently, DiracX API uses status codes from http: from http import HTTPStatus

Since the API is built with FastAPI, we could instead use the status codes provided by FastAPI:: https://fastapi.tiangolo.com/reference/status

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions