MerginMaps / MerginMaps/python-api-client
`delete_project_now()` fails if project has been deleted in UI
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 23
- 派生
- 12
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 7
描述
Calling delete_project_now() on a project that's been deleted using the dashboard fails with a client error:
Mergin.mergin.common.ClientError: HTTP Error: 404 NOT FOUND
URL: https://app.merginmaps.com/v1/project/workspace/projectName
Method: GET
Detail: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
It seems the v1 api is used there and it's failing.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 delete_project_now() 入口点开始,检查为什么它会针对通过 dashboard 删除的项目执行 v1 API 查找。重现 404 情况,并确定对于已删除项目的预期行为;当该调用能够处理这种情况且不再出现所报告的客户端错误时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100