-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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) |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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
Fixed nomenclatures of all functions as per review