File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
opentelemetry-sdk/src/opentelemetry/sdk/_configuration Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,4 @@ psutil==5.9.6
1717GitPython==3.1.41
1818pre-commit==3.7.0; python_version >= '3.9'
1919pre-commit==3.5.0; python_version < '3.9'
20- ruff==0.6.9
21- grpcio==1.66.2
20+ ruff==0.6.9
Original file line number Diff line number Diff line change @@ -153,10 +153,10 @@ def _load_credential_from_envvar(
153153 credentials = _import_config_component (
154154 credential_env , "opentelemetry_otlp_credential_provider"
155155 )()
156- if _GRPC_IMPORTED and isinstance (credentials , ChannelCredentials ): # type: ignore[reportPossiblyUnboundVariable]
156+ if _GRPC_IMPORTED and isinstance (credentials , ChannelCredentials ): # type: ignore[reportPossiblyUnboundVariable]
157157 return ("credentials" , credentials )
158158
159- if _REQUESTS_IMPORTED and isinstance (credentials , Session ): # type: ignore[reportPossiblyUnboundVariable]
159+ if _REQUESTS_IMPORTED and isinstance (credentials , Session ): # type: ignore[reportPossiblyUnboundVariable]
160160 return ("session" , credentials )
161161 raise RuntimeError (
162162 f"{ credential_env } is neither a grpc.ChannelCredentials or requests.Session type."
You can’t perform that action at this time.
0 commit comments