Getting TypeError: SSEConsumer() missing 2 required positional arguments: 'receive' and 'send' #2108
Unanswered
harkishankhuva
asked this question in
Help!
Replies: 1 comment
-
Did you manage to resolve this? I have the same issue and struggling to find docs on how to link up |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created an SSEconsumer class inheriting the AsyncHttpConsumer, when I called the endpoint it shows me an error
TypeError: SSEConsumer() missing 2 required positional arguments: 'receive' and 'send'
Platform: Ubuntu 22.04 LTS
Python: 3.11.1
Output of
pip freeze
commandI'm running the app using
python manage.py runserver
and daphne is added in 'INSTALLED_APPS' at the top.Here's the full traceback
FILE:
consumers.py
FILE:
asgi.py
FILE:
urls.py
Beta Was this translation helpful? Give feedback.
All reactions