Skip to content

Commit 9456b53

Browse files
lint
Signed-off-by: Elena Kolevska <[email protected]>
1 parent 2ab9a77 commit 9456b53

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dapr/clients/grpc/subscription.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ def next_message(self):
7474
if not self._is_stream_active() or self._stream is None:
7575
raise StreamInactiveError('Stream is not active')
7676

77-
7877
try:
7978
# Read the next message from the stream directly
8079
message = next(self._stream)
@@ -94,7 +93,6 @@ def next_message(self):
9493
except Exception as e:
9594
raise Exception(f'Error while fetching message: {e}')
9695

97-
9896
def respond(self, message, status):
9997
try:
10098
status = appcallback_v1.TopicEventResponse(status=status.value)

examples/pubsub-streaming/subscriber-handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
topic_name = args.topic
1414
dlq_topic_name = topic_name + '_DEAD'
1515

16+
1617
def process_message(message):
1718
# Process the message here
1819
global counter

0 commit comments

Comments
 (0)