getsentry / getsentry/sentry-python

Remove (or at least mitigate) shadowing of `input` within the OpenAI integration

Abierto
#5,929 1 comentario 0 reacciones 0 asignados Ver en GitHub
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

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.