beremiz
Clone
Summary
Browse
Changes
Graph
Added support for optimizing debug, preventing to filling buffers with only the last value for debug data consumers that only show the current state
2013-10-14, Laurent Bessard
debc97102b23
Added support for optimizing debug, preventing to filling buffers with only the last value for debug data consumers that only show the current state
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func