From ddab6ac9c93fc8e074eddefbda78a11c29bb8d20 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:19:40 -0300 Subject: [PATCH] fix func return type --- .../src/opentelemetry/instrumentation/urllib3/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py b/instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py index 75b626bb99..921326a203 100644 --- a/instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py @@ -367,9 +367,7 @@ def instrumented_urlopen(wrapped, instance, args, kwargs): ) -def _get_url_open_arg( - name: str, args: typing.List, kwargs: typing.Mapping -) -> str: +def _get_url_open_arg(name: str, args: typing.List, kwargs: typing.Mapping): arg_idx = _URL_OPEN_ARG_TO_INDEX_MAPPING.get(name) if arg_idx is not None: try: