NASA-AMMOS / NASA-AMMOS/anms

Variable Naming Conflict in Transcoder Endpoint

Open Beginner friendly
#382 0 comments 0 reactions 0 assignees View on GitHub

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.

https://github.com/NASA-AMMOS/anms/blob/9a51ffa4e1a815e1f7a205023cbb937872f35fb1/anms-core/anms/routes/transcoder.py#L266

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.