def get_server_weights(master_url='localhost:5000'):
    request = urllib2.Request('http://{0}/parameters'.format(master_url),
                              headers={'Content-Type': 'application/elephas'})
    return pickle.loads(urllib2.urlopen(request).read())
Creates the cursor string from an offset.
dataset/ETHPy150Open maxpumperla/elephas/elephas/spark_model.py/get_server_weights--crossover with--dataset/ETHPy150Open graphql-python/graphql-relay-py/graphql_relay/connection/arrayconnection.py/offset_to_cursor