influxdata / influxdata/iot-api-python
`authorization` variable is unused
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 28
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Function creates the `authorization` object, but doesn't use it in the API call.
https://github.com/influxdata/iot-api-python/blob/main/api/devices.py#L148
Also, the API call doesn't contain the `desc_prefix` for the authorization.
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 api/devices.py#L148 and inspect the function that creates the authorization object and makes the API call. Verify how that call should use authorization and include desc_prefix. Done means the request uses both values correctly; no tests are mentioned in the issue, so check the surrounding API code for the relevant validation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100