Proof-of-concept: Resource to MethodView conversion research

Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-09-25 16:41:51 +00:00
parent 659ff5c69e
commit 5a9045cd63
2 changed files with 7 additions and 5 deletions

View File

@ -36,6 +36,9 @@ from .dataset import (
)
from .workspace import models
# Register MethodView classes with the blueprint
bp.add_url_rule("/", view_func=index.IndexApi.as_view("index_api"), methods=["GET"])
__all__ = [
"annotation",
"app",
@ -56,4 +59,5 @@ __all__ = [
"workflow",
]
api.add_namespace(service_api_ns)
# Temporarily disable namespace registration to test MethodView
# api.add_namespace(service_api_ns)