microsoft / microsoft/azure-devops-python-api

GitPullRequestChange does not inherit from GitChange/Change

未關閉
#489 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
684
分支
218
平均合併
8 天 10 小時
30 天內合併 PR
1

描述

It seems that the inheritance has gone wrong. I could not find out another way to access the changes of a git commit with changeType, item, ...

GitPullRequestChange (azure-devops/azure/devops/v7_1/git/models.py:1712) should inherit from
Change (azure-devops/azure/devops/v7_1/git/models.py:2849) (item)

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 azure-devops/azure/devops/v7_1/git/models.py 中約第 1712 行的 GitPullRequestChange 開始,並將其與約第 2849 行的 Change 進行比較。驗證繼承關係,並確認 pull request 變更可以存取 changeType、item 和其他 Change 欄位;完成表示該模型透過預期的繼承關係公開這些欄位。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。