Skip to content

Commit d3fb79f

Browse files
committed
Please lint
1 parent 0f5ad88 commit d3fb79f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

instrumentation-genai/opentelemetry-instrumentation-openai-v2/src/opentelemetry/instrumentation/openai_v2/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ def get_llm_request_attributes(
194194
client_instance,
195195
operation_name=GenAIAttributes.GenAiOperationNameValues.CHAT.value,
196196
):
197+
# pylint: disable=too-many-branches
198+
197199
attributes = {
198200
GenAIAttributes.GEN_AI_OPERATION_NAME: operation_name,
199201
GenAIAttributes.GEN_AI_SYSTEM: GenAIAttributes.GenAiSystemValues.OPENAI.value,

instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/test_chat_completions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=too-many-locals
14+
15+
# pylint: disable=too-many-locals,too-many-lines
1516

1617
import logging
1718

0 commit comments

Comments
 (0)