Skip to content

Commit

Permalink
get_json_data renamed to get_kedro_project_json_data
Browse files Browse the repository at this point in the history
Signed-off-by: Jitendra Gundaniya <[email protected]>
  • Loading branch information
jitu5 committed Aug 20, 2024
1 parent 9024210 commit b0e10a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundled/tool/lsp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
from pygls.server import LanguageServer

from kedro_viz.server import load_and_populate_data
from kedro_viz.api.rest.responses import get_json_data
from kedro_viz.api.rest.responses import get_kedro_project_json_data

class KedroLanguageServer(LanguageServer):
"""Store Kedro-specific information in the language server."""
Expand Down Expand Up @@ -562,7 +562,7 @@ def get_porject_data_from_viz(lsClient):
data = None
try:
load_and_populate_data(Path.cwd())
data = get_json_data()
data = get_kedro_project_json_data()
return data
except Exception as e:
print(f"An error occurred: {e}")
Expand Down

0 comments on commit b0e10a4

Please sign in to comment.