Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/fixing-nomenclatures #74

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Conversation

krishnaglodha
Copy link
Collaborator

Fixed nomenclatures of all functions as per review

@francbartoli francbartoli merged commit d3786e7 into develop Nov 19, 2024
4 checks passed
Copy link
Collaborator

@ricardogsilva ricardogsilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes still left to do, but almost done

@@ -132,33 +131,30 @@ async def get_all_workspaces(self) -> Union[WorkspacesModel, GSResponse]:
results = self.response_recognise(responses.status_code)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this one responses

return results

# Get vector stores in specific workspaces
async def get_vector_stores_in_workspaces(self, workspace: str) -> DataStoresModel:
Client = self.http_client
responses = await Client.get(f"workspaces/{workspace}/datastores")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one responses - please check whether there are more, better to change them all at once if we can.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these will be multiple, since it will return multiple vector stores

else:
results = self.response_recognise(responses.status_code)
results = self.response_recognise(response.status_code)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are at it, let's change results to result too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants