@blueprint.route('/users/<user>/meters')
def list_meters_by_user(user):
 rq = flask.request
 meters = rq.storage_conn.get_meters(user=user, project=acl.get_limited_to_project(rq.headers), metaquery=_get_metaquery(rq.args))
 return flask.jsonify(meters=[m.as_dict() for m in meters])

@ blueprint . route ( '/users/<user>/meters' ) def list_meters_by_user ( user ) : rq = flask . request meters = rq . storage_conn . get_meters ( user = user , project = acl . get_limited_to_project ( rq . headers ) , metaquery = _get_metaquery ( rq . args ) ) return flask . jsonify ( meters = [ m . as_dict ( ) for m in meters ] )
return a list of meters by user .