From ee755d4e31c2dd4abb270b9f3111f9158470f0e7 Mon Sep 17 00:00:00 2001 From: Siddhant Mishra Date: Fri, 29 Nov 2024 18:23:36 +0530 Subject: [PATCH] Bug fix --- aryaxai/core/project.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aryaxai/core/project.py b/aryaxai/core/project.py index 0d2f8fb..2231d9e 100755 --- a/aryaxai/core/project.py +++ b/aryaxai/core/project.py @@ -2434,7 +2434,6 @@ def list_data_connectors(self) -> str | pd.DataFrame: if res["success"]: df = pd.DataFrame(res["details"]) - df = df.drop(["_id", "region", "gcp_project_name", "gcp_project_id", "gdrive_file_name"], axis = 1) return df return res["details"] @@ -2509,7 +2508,6 @@ def get_connector() -> str | pd.DataFrame: if res["success"]: df = pd.DataFrame(res["details"]) - df = df.drop(["_id", "region", "gcp_project_name", "gcp_project_id", "gdrive_file_name"], axis = 1) filtered_df = df.loc[df['link_service_name'] == data_connector_name] if filtered_df.empty: return "No data connector found"