OpenHands / OpenHands/sandbox-server
Fix FastAPI path parameter binding mismatch in delete_sandbox
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
The delete_sandbox endpoint has a path parameter binding mismatch that prevents FastAPI from correctly routing DELETE requests.
The route decorator uses /{id} but the function parameter is named sandbox_id:
@router.delete('/{id}')
async def delete_sandbox(sandbox_id: str, ...):
Fixed by PR #11
Contributor guide
No contributing guide indexed for this repository
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
Start at the delete_sandbox endpoint and compare the route decorator's path parameter with the function signature shown in the issue. Review PR #11, which reportedly fixes the mismatch, and verify that DELETE requests route successfully with the expected sandbox identifier.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 20/100