getsentry / getsentry/sentry-python
Remove (or at least mitigate) shadowing of `input` within the OpenAI integration
Aperta
Python
Refactoring
Task
- Lingua principale
- Python
- Stelle
- 2.2k
- Fork
- 669
- Merge medio
- 1g 1h
- PR unite (30g)
- 213
Descrizione
There's a number of places where we name variables `input` (such as in \``_calculate_responses_token_usage`\`) that reflect the OpenAI variable names, but that cause shadowing of the `input` Python function.
We should look to rename these variables to avoid this.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.