update interfaces to use ABC
This commit is contained in:
parent
a1a930b833
commit
44eca10c05
14 changed files with 467 additions and 508 deletions
|
@ -3,7 +3,7 @@ from flask import jsonify
|
|||
from auth.registry_jwt_auth import process_registry_jwt_auth, get_granted_entity
|
||||
from endpoints.decorators import anon_protect
|
||||
from endpoints.v2 import v2_bp, paginate
|
||||
from data.interfaces.v2 import PreOCIModel as model
|
||||
from data.interfaces.v2 import pre_oci_model as model
|
||||
|
||||
@v2_bp.route('/_catalog', methods=['GET'])
|
||||
@process_registry_jwt_auth()
|
||||
|
|
Reference in a new issue