Skip to content

Commit 5da3ab7

Browse files
fix: incorrect method declaration for sqs is_empty
1 parent 47737e9 commit 5da3ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskqueue/aws_queue_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def leased(self):
8989
status = self.status()
9090
return int(status['ApproximateNumberOfMessagesNotVisible'])
9191

92-
def is_empty():
92+
def is_empty(self):
9393
return self.enqueued == 0
9494

9595
@retry

0 commit comments

Comments
 (0)