beremiz
Clone
Summary
Browse
Changes
Graph
Removed useless condition in Worker.py that was allowing misfit non-serialized call when worker still not running its loop.
2018-09-05, Edouard Tisserant
985973ed701b
Removed useless condition in Worker.py that was allowing misfit non-serialized call when worker still not running its loop.
These classes are intended for use server-side.
e.g. in a django view.py :
from pyjs.jsonrpc.django import JSONService, jsonremote
jsonservice = JSONRPCService()
@jsonremote(jsonservice)
def test(request, echo_param):
return "echoing the param back: %s" % echo_param