def get_functions(service, session_handle, database_name='.*'): # TODO: need to test this one especially req = TGetFunctionsReq(sessionHandle=session_handle, schemaName=database_name, functionName='.*') log.debug('get_functions: req=%s', req) resp = service.GetFunctions(req) log.debug('get_functions: resp=%s', resp) err_if_rpc_not_ok(resp) return resp.operationHandle
def get_functions(self, database='.*'): # TODO: need to test this one especially req = TGetFunctionsReq(sessionHandle=self.handle, schemaName=database, functionName='.*') return self._operation('GetFunctions', req)