From 14b0ae0672a66fb734176a8a80f7f524c496f119 Mon Sep 17 00:00:00 2001 From: Geary-Layne Date: Fri, 1 Nov 2024 16:39:06 -0600 Subject: [PATCH] try #3 to fix linter errors --- python/idsse_common/idsse/common/rabbitmq_utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/idsse_common/idsse/common/rabbitmq_utils.py b/python/idsse_common/idsse/common/rabbitmq_utils.py index 2881ba9..6a75ccd 100644 --- a/python/idsse_common/idsse/common/rabbitmq_utils.py +++ b/python/idsse_common/idsse/common/rabbitmq_utils.py @@ -350,7 +350,7 @@ def _set_context(context): var.set(value) -class Consumer(Thread): # pylint disable=too-many-instance-attributes +class Consumer(Thread): """ RabbitMQ consumer, runs in own thread to not block heartbeat. A thread pool is used to not so much to parallelize the execution but rather to manage the @@ -358,6 +358,10 @@ class Consumer(Thread): # pylint disable=too-many-instance-attributes shutdown. The start() and stop() methods should be called from the same thread as the one used to create the instance. """ + + # pylint: disable=too-many-instance-attributes + # Eight is reasonable in this case. + def __init__( self, conn_params: Conn,