getsentry / getsentry/sentry-python

Refactor the `extract_contents_message` function

未關閉
#5,974 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Python Refactoring Task
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

This function is overly complex and is difficult to follow, especially given all the possible permutations that can be passed in as `content`. This has led to edge cases

Recommend addressing this before tackling something like [PY-2289](https://linear.app/getsentry/issue/PY-2289/improve-processing-of-content-argument-thats-passed-in-to-generate)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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