def __init__(self, sessionmaker=None):
        '''
        create a new SLOJSONRPC

        sessionmaker - default argument for all methods
        '''
        self._sessionmaker = sessionmaker
        self._methods = {
            'ping': {
                'argspec': inspect.getargspec(self.ping),
                'fct': self.ping
            }
        }
def __init__ ( self , sessionmaker = None ) : self . _sessionmaker = sessionmaker self . _methods = { 'ping' : { 'argspec' : inspect . getargspec ( self . ping ) , 'fct' : self . ping } }
create a new SLOJSONRPC

        sessionmaker - default argument for all methods