Move param_required into the decorators module

This commit is contained in:
Joseph Schorr 2017-07-20 11:41:19 -04:00
parent 98e2ccf74d
commit 5d69fc2aa3
3 changed files with 20 additions and 23 deletions

View file

@ -27,9 +27,10 @@ from buildtrigger.triggerutil import TriggerProviderException
from data import model
from data.database import db
from endpoints.api.discovery import swagger_route_data
from endpoints.common import (common_login, render_page_template, param_required)
from endpoints.common import common_login, render_page_template
from endpoints.csrf import csrf_protect, generate_csrf_token, verify_csrf
from endpoints.decorators import anon_protect, anon_allowed, route_show_if, parse_repository_name
from endpoints.decorators import (anon_protect, anon_allowed, route_show_if, parse_repository_name,
param_required)
from health.healthcheck import get_healthchecker
from util.cache import no_cache
from util.headers import parse_basic_auth