mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #20748] [CLOSED] fix: Use keyword argument for IndicesClient.refresh() opensearch-py >= 3.0.0 #25761
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20748
Author: @YuriNachos
Created: 1/17/2026
Status: ❌ Closed
Base:
dev← Head:fix-20649-opensearch-refresh📝 Commits (1)
a55f7affix: Use keyword argument for IndicesClient.refresh() opensearch-py >= 3.0.0📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
backend/open_webui/retrieval/vector/dbs/opensearch.py(+3 -3)📄 Description
Description
Added
Changed
IndicesClient.refresh()calls to use keyword argumentindex=instead of positional argumentDeprecated
Removed
Fixed
IndicesClient.refresh()method signature changed to only accept keyword-only argumentsself.client.indices.refresh(self._get_index_name(collection_name))self.client.indices.refresh(index=self._get_index_name(collection_name))Security
Breaking Changes
Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.