Browse Source

...

master
jfinn 6 months ago
parent
commit
63e539302b
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      wsps/views.py

+ 4
- 0
wsps/views.py View File

@@ -3,6 +3,8 @@ from django.http import HttpResponse
3 3
 
4 4
 from asgiref.sync import async_to_sync,sync_to_async
5 5
 
6
+import inspect
7
+
6 8
 # from wsps.tasks_loop import *
7 9
 
8 10
 # wsps.
@@ -21,6 +23,8 @@ def fn_v(request,*a,**kw):
21 23
 	# if 
22 24
 	# return HttpResponse("fn_v?") 
23 25
 	if (glob_cl.has_cl):
26
+		p("async_to_sync sig:",inspect.signature(async_to_sync))
27
+		p("group_send sig:",inspect.signature(glob_cl.acl.group_send))
24 28
 		
25 29
 		async_to_sync(glob_cl.acl.group_send)("av2",{"hi":"test"})
26 30
 		return HttpResponse("fn_v has_cl") 

Loading…
Cancel
Save