galaxyproject / galaxyproject/galaxy
API Workflow Invocation replacement_params only accepts strings
Open
area/API
area/workflows
kind/bug
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 169
Description
POST /api/workflows/{encoded_workflow_id}/invocations
```
{
...
replacement_params: { "foo" : 2 }
}
```
quietly fails to do the replacement.
The following instead works:
```
{
...
replacement_params: { "foo" : "2" }
}
```
Contributor guide
Research direction
Start by tracing the POST /api/workflows/{encoded_workflow_id}/invocations endpoint and how it handles replacement_params. Reproduce the difference between numeric and string values, then add coverage for numeric replacement_params and confirm both forms perform the replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100