|
@@ -5,7 +5,6 @@ from asgiref.sync import async_to_sync,sync_to_async
|
5
|
5
|
|
6
|
6
|
import inspect
|
7
|
7
|
|
8
|
|
-p=print
|
9
|
8
|
# from wsps.tasks_loop import *
|
10
|
9
|
|
11
|
10
|
# wsps.
|
|
@@ -27,7 +26,7 @@ def fn_v(request,*a,**kw):
|
27
|
26
|
p("async_to_sync sig:",inspect.signature(async_to_sync))
|
28
|
27
|
p("group_send sig:",inspect.signature(glob_cl.acl.group_send))
|
29
|
28
|
|
30
|
|
- async_to_sync(glob_cl.acl.group_send)("av2",{"hi":"test"})
|
|
29
|
+ async_to_sync(glob_cl.acl.group_send)("av2",{"type":"jsto_send","hi":"test"})
|
31
|
30
|
return HttpResponse("fn_v has_cl")
|
32
|
31
|
return HttpResponse("fn_v")
|
33
|
32
|
return
|