cancervariants / cancervariants/variation-normalization

Better error handling: FastAPI

Open
#617 0 comments 0 reactions 1 assignee Claimed by @korikuzma View on GitHub
enhancement priority:high
Dominant language
Python
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Feature description

We need to update our error handling for FastAPI

### Use case

We want to follow REST API best practices (proper http status codes, etc)

### Proposed solution

Return JSONResponse or raise HTTPException

### Alternatives considered

_No response_

### Implementation details

_No response_

### Potential Impact

_No response_

### Additional context

_No response_

### Contribution

Yes, I can create a PR for this feature.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.