Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sidjmishra-ai committed Nov 29, 2024
1 parent 4af7b34 commit ee755d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aryaxai/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ee755d4

Please sign in to comment.