Skip to content

Commit 533b8a1

Browse files
committed
Remove hasattr assert
1 parent cf88331 commit 533b8a1

File tree

1 file changed

+0
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis

1 file changed

+0
-1
lines changed

instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ def response_hook(span, instance, response):
177177

178178
_DEFAULT_SERVICE = "redis"
179179
_logger = logging.getLogger(__name__)
180-
assert hasattr(redis, "VERSION")
181180

182181
_REDIS_ASYNCIO_VERSION = (4, 2, 0)
183182
_REDIS_CLUSTER_VERSION = (4, 1, 0)

0 commit comments

Comments
 (0)