getsentry / getsentry/sentry-python
Remove (or at least mitigate) shadowing of `input` within the OpenAI integration
Abierto
Python
Refactoring
Task
- Lenguaje dominante
- Python
- Estrellas
- 2.2k
- Forks
- 669
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 213
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.