Skip to content

Commit

Permalink
✨ feat: add message_group_id
Browse files Browse the repository at this point in the history
  • Loading branch information
mic1on committed Nov 20, 2023
1 parent 6ad9e2f commit c4b3595
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/onestep/broker/sqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@

class SQSBroker(BaseBroker):

def __init__(self, queue_name, params: Optional[Dict] = None, prefetch: Optional[int] = 1,
auto_create=True, queue_params: Optional[Dict] = None, message_group_id=None,
*args,
**kwargs):
def __init__(self, queue_name, message_group_id, params: Optional[Dict] = None, prefetch: Optional[int] = 1,
auto_create=True, queue_params: Optional[Dict] = None,
*args, **kwargs):
super().__init__(*args, **kwargs)
self.queue_name = queue_name
self.queue = Queue()
Expand Down

0 comments on commit c4b3595

Please sign in to comment.