-
-
Save georgeyk/01eb8d6ade2f08c8527b3e42b65c9b99 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
import asyncio | |
from .handlers import FoobarFriendCreatedHandler | |
loop = asyncio.get_event_loop() | |
handler = FoobarFriendCreatedHandler() | |
message = {'invalid': 'message'} | |
loop.run_until_complete(handler.handle(message)) | |
loop.close() | |
# Execute: python -m foobar_friend_service.manual_run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment