@ajax_request
@login_required
@has_perm('requires_viewer')
def get_meters(request):
    building_id = request.GET.get('building_id', '')
    if not building_id:
        return {'status': 'error', 'message': 'No building id specified'}

    return {
        'status': 'success', 'building_id': building_id, 'meters': [
            obj_to_dict(m) for m in Meter.objects.filter(
                building_snapshot=building_id
            )
        ]
    }
Create a new WatchableConnection with an nREPL message transport
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/views/meters.py/get_meters--crossover with--dataset/ETHPy150Open cemerick/nrepl-python-client/nrepl/__init__.py/WatchableConnection.__init__