influxdata / influxdata/iot-api-python
`authorization` variable is unused
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 28
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 api/devices.py#L148 開始,檢查建立 authorization 物件並執行 API 呼叫的函式。確認該呼叫應如何使用 authorization 並包含 desc_prefix。當請求正確使用這兩個值時即表示完成;issue 中沒有提到測試,因此請檢查周圍的 API 程式碼,找出相關的驗證路徑。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100