Variable Naming Conflict in Transcoder Endpoint
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 2
Description
transcoder_send_ari_str() uses a local variable called status that conflicts with the imported status from fastapi. Results in a 500 when hitting the endpoint at /transcoder/ui/incoming_send/str.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open anms-core/anms/routes/transcoder.py around line 266 and inspect transcoder_send_ari_str(), focusing on the local status variable and the imported FastAPI status name. Resolve the naming conflict and verify that /transcoder/ui/incoming_send/str no longer returns a 500 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 82/100