Skip to content

Commit 6d81872

Browse files
fixes
1 parent e28867d commit 6d81872

File tree

5 files changed

+275
-142
lines changed

5 files changed

+275
-142
lines changed

superclient/agent/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from ..util.logger import get_logger, set_debug_enabled
99
from ..util.config import get_env_vars, is_disabled
10-
from ..util.network import get_host_info
1110
from .interceptor import patch_kafka_python, patch_aiokafka, patch_confluent
1211
from .tracker import Heartbeat
1312

@@ -90,7 +89,7 @@ def initialize():
9089

9190
# Install import hook
9291
if builtins.__import__ is not _import_hook:
93-
builtins.__import__ = _import_hook # type: ignore
92+
builtins.__import__ = _import_hook
9493

9594
# Patch any pre-imported modules
9695
for module in ("kafka", "aiokafka", "confluent_kafka"):

0 commit comments

Comments
 (0)