beremiz
Clone
Summary
Browse
Changes
Graph
Add support for Drag'n dropping located variables to function block creating global located variable in configuration and external variable in function block
2013-05-23, Laurent Bessard
a506e4de8f84
Add support for Drag'n dropping located variables to function block creating global located variable in configuration and external variable in function block
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