@api.route('/api/data-sources/')
def data_sources():
    mancers = None
    if request.args.get('geo_type'):
        mancers, errors = get_data_sources(request.args.get('geo_type'))
    else:
        mancers, errors = get_data_sources()
    resp = make_response(json.dumps(mancers, cls=GeoTypeEncoder))
    resp.headers['Content-Type'] = 'application/json'
    return resp
UNIT test: services.common.pusher.test_service
dataset/ETHPy150Open associatedpress/geomancer/geomancer/api.py/data_sources--crossover with--dataset/ETHPy150Open satnet-project/server/services/common/tests/test_pusher.py/TestPusher.test_basic