getsentry / getsentry/sentry-python

Refactor the `extract_contents_message` function

Aperta
#5,974 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Python Refactoring Task
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 1h
PR unite (30g)
213

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.