1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Files
quay/registry.py
OpenShift Cherrypick Robot 96bc0decf7 chore: remove deprecated appr code (PROJQUAY-4992) (#1746)
Co-authored-by: Kenny Lee Sin Cheong <kenny.lee28@gmail.com>
2023-02-20 15:30:53 +01:00

12 lines
339 B
Python

import endpoints.decorated # Note: We need to import this module to make sure the decorators are registered.
import features
from app import app as application
from endpoints.v1 import v1_bp
from endpoints.v2 import v2_bp
application.register_blueprint(v1_bp, url_prefix="/v1")
application.register_blueprint(v2_bp, url_prefix="/v2")