So far as our code and the code of another user, we have passed self as the
first argument in the definition of a function/method.
relating code in consumers.py:
from channels.generic.websocket import AsyncWebsocketConsumer import json
class Trade(AsyncWebsocketConsumer):
async def my_send(se
Hi there!
I have posted this issue like 3 months ago.
https://github.com/django/channels/discussions/1736
And there are many others encountering similar problem, like this:
https://stackoverflow.com/questions/68194577/typeerror-call-missing-1-required-positional-argument-send-django/
The similar
2 matches
Mail list logo