Пример #1
0
def find_metrics(request):
    user = user_from_request(request)
    backend_id = request.matchdict['backend']
    machine_id = request.matchdict['machine']
    return methods.find_metrics(user, backend_id, machine_id)
Пример #2
0
def find_metrics(request):
    user = user_from_request(request)
    backend_id = request.matchdict['backend']
    machine_id = request.matchdict['machine']
    return methods.find_metrics(user, backend_id, machine_id)