2023-02-22 12:36:51.731 | ERROR | orm.redis:producer_handler:99 - send_text() missing 1 required positional argument: 'data' Traceback (most recent call last): File "", line 1, in File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 324 │ └ 3 └ File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 324 │ └ └ File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ └ File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ └ File "C:\Users\systemsupport\Desktop\Project\SUPNEW\env\lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\systemsupport\Desktop\Project\SUPNEW\env\lib\site-packages\uvicorn\server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ └ File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 634, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 601, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 1905, in _run_once handle._run() │ └ └ ()> File "C:\Users\systemsupport\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ └ ()> > File "C:\Users\systemsupport\Desktop\Project\SUPNEW\back\backend\.\orm\redis.py", line 92, in producer_handler await ws.send_text(message.get('data')) │ │ │ └ │ │ └ {'type': 'message', 'pattern': None, 'channel': 'chat:26', 'data': '{\n "action": "newmessageincome",\n "payload": {\n ... │ └ └ TypeError: send_text() missing 1 required positional argument: 'data'