Skip to content

Commit d4ce181

Browse files
SimplicityGuyclaude
andcommitted
fix(extractor): add type annotation for active_connections
Add type annotation to resolve mypy error for active_connections global variable. Annotated as dict[str, ResilientRabbitMQConnection] to track active AMQP connections by data type. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent e1e7bc2 commit d4ce181

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

extractor/pyextractor/extractor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
completed_files = set() # Track which files have been completed
5151
current_task = None
5252
current_progress = 0.0
53-
active_connections = {} # Track active AMQP connections by data type
53+
active_connections: dict[
54+
str, ResilientRabbitMQConnection
55+
] = {} # Track active AMQP connections by data type
5456

5557
# Periodic check configuration will be loaded from config
5658

0 commit comments

Comments
 (0)