Skip to content

Commit a914be5

Browse files
Merge #993
993: Fixed a typing mistake in /meilisearch/index.py:1084 r=sanders41 a=Nikolas-Lehto # Pull Request ## What does this PR do? - Fixes [this](https://discord.com/channels/1006923006964154428/1260681356027887771) bug, that has no issue but is documented on Discord. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Nikolas Lehto <nikolas.lehto1@outlook.com>
2 parents 376050f + d684115 commit a914be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def get_distinct_attribute(self) -> Optional[str]:
10811081
"""
10821082
return self.http.get(self.__settings_url_for(self.config.paths.distinct_attribute))
10831083

1084-
def update_distinct_attribute(self, body: Union[Dict[str, Any], None]) -> TaskInfo:
1084+
def update_distinct_attribute(self, body: str) -> TaskInfo:
10851085
"""Update distinct attribute of the index.
10861086
10871087
Parameters

0 commit comments

Comments
 (0)