MerginMaps / MerginMaps/python-api-client

Add some ways to work with user_email in remove_project_collaborator() and update_project_collaborator()

未关闭
#242 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。