MerginMaps / MerginMaps/python-api-client
Add some ways to work with user_email in remove_project_collaborator() and update_project_collaborator()
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 23
- 派生
- 12
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 7
描述
When using remove_project_collaborator() or update_project_collaborator() one needs user_id which is not exactly easy to get. It can be extracted from list_project_collaborators() which provides the info, but it is not really handy or intuitive.
Either remove_project_collaborator() and update_project_collaborator() should take also user_email besides user_id to allow editing collaborators for project. Or there could be new Endpoint and client function to get user_id from user_email.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 remove_project_collaborator()、update_project_collaborator() 和 list_project_collaborators(),了解它们当前如何处理 user_id。明确预期结果是在现有函数中支持 email,还是提供一个 user_id 查询端点,然后定义 API 行为以及证明使用所选方案可以正常更新协作者所需的测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100