From 6623712f73bd2d574f094441eb9d031b6b178882 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Mon, 9 Dec 2024 10:40:59 +0000 Subject: [PATCH] revert graphql_router since it's still using in getVersion Signed-off-by: Huong Nguyen --- package/kedro_viz/api/apps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kedro_viz/api/apps.py b/package/kedro_viz/api/apps.py index 4628b94ef..1f57a26b7 100644 --- a/package/kedro_viz/api/apps.py +++ b/package/kedro_viz/api/apps.py @@ -18,6 +18,7 @@ from kedro_viz.api.rest.responses.utils import EnhancedORJSONResponse from kedro_viz.integrations.kedro import telemetry as kedro_telemetry +from .graphql.router import router as graphql_router from .rest.router import router as rest_router _HTML_DIR = Path(__file__).parent.parent.absolute() / "html" @@ -62,6 +63,7 @@ def create_api_app_from_project( """ app = _create_base_api_app() app.include_router(rest_router) + app.include_router(graphql_router) # Check for html directory existence. if Path(_HTML_DIR).is_dir():