Created
January 28, 2022 11:40
-
-
Save codephillip/d480eed6c119070c89b24dc4e24a3039 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.management.base import BaseCommand | |
from ms_foobar_app.events.event_listener import EventListener | |
class Command(BaseCommand): | |
def handle(self, *args, **options): | |
bus = EventListener() | |
bus.run() | |
bus.subscribe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment