Browse Source

...

master
jfinn 8 months ago
parent
commit
7b4b30df3b
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      wsps/views.py

+ 1
- 2
wsps/views.py View File

5
 
5
 
6
 import inspect
6
 import inspect
7
 
7
 
8
-p=print
9
 # from wsps.tasks_loop import *
8
 # from wsps.tasks_loop import *
10
 
9
 
11
 # wsps.
10
 # wsps.
27
 		p("async_to_sync sig:",inspect.signature(async_to_sync))
26
 		p("async_to_sync sig:",inspect.signature(async_to_sync))
28
 		p("group_send sig:",inspect.signature(glob_cl.acl.group_send))
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
 		return HttpResponse("fn_v has_cl") 
30
 		return HttpResponse("fn_v has_cl") 
32
 	return HttpResponse("fn_v") 
31
 	return HttpResponse("fn_v") 
33
 	return
32
 	return

Loading…
Cancel
Save