Skip to content

Commit

Permalink
add handle_consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisoSouza committed Apr 30, 2024
1 parent 342b79f commit 521a207
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bothub/authorizations/consumers/handle.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from amqp.channel import Channel

from bothub.authorizations.consumers.authorizations_consumer import OrgAuthConsumer



def handle_consumers(channel: Channel) -> None:
channel.basic_consume("artificial-intelligence.authorizations", callback=OrgAuthConsumer().handle)

0 comments on commit 521a207

Please sign in to comment.