Skip to content

Commit b17f1a8

Browse files
committed
Typo
1 parent 21b221b commit b17f1a8

File tree

1 file changed

+18
-36
lines changed

1 file changed

+18
-36
lines changed

meilisearch/index.py

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,7 @@ def reset_settings(self) -> Dict[str, Any]:
666666
# RANKING RULES SUB-ROUTES
667667

668668
def get_ranking_rules(self) -> List[str]:
669-
"""
670-
Get ranking rules of the index.
669+
"""Get ranking rules of the index.
671670
672671
Returns
673672
-------
@@ -684,8 +683,7 @@ def get_ranking_rules(self) -> List[str]:
684683
)
685684

686685
def update_ranking_rules(self, body: List[str]) -> Dict[str, Any]:
687-
"""
688-
Update ranking rules of the index.
686+
"""Update ranking rules of the index.
689687
690688
Parameters
691689
----------
@@ -729,8 +727,7 @@ def reset_ranking_rules(self) -> Dict[str, Any]:
729727
# DISTINCT ATTRIBUTE SUB-ROUTES
730728

731729
def get_distinct_attribute(self) -> Optional[str]:
732-
"""
733-
Get distinct attribute of the index.
730+
"""Get distinct attribute of the index.
734731
735732
Returns
736733
-------
@@ -747,8 +744,7 @@ def get_distinct_attribute(self) -> Optional[str]:
747744
)
748745

749746
def update_distinct_attribute(self, body: Dict[str, Any]) -> Dict[str, Any]:
750-
"""
751-
Update distinct attribute of the index.
747+
"""Update distinct attribute of the index.
752748
753749
Parameters
754750
----------
@@ -792,8 +788,7 @@ def reset_distinct_attribute(self) -> Dict[str, Any]:
792788
# SEARCHABLE ATTRIBUTES SUB-ROUTES
793789

794790
def get_searchable_attributes(self) -> List[str]:
795-
"""
796-
Get searchable attributes of the index.
791+
"""Get searchable attributes of the index.
797792
798793
Returns
799794
-------
@@ -810,8 +805,7 @@ def get_searchable_attributes(self) -> List[str]:
810805
)
811806

812807
def update_searchable_attributes(self, body: List[str]) -> Dict[str, Any]:
813-
"""
814-
Update searchable attributes of the index.
808+
"""Update searchable attributes of the index.
815809
816810
Parameters
817811
----------
@@ -855,8 +849,7 @@ def reset_searchable_attributes(self) -> Dict[str, Any]:
855849
# DISPLAYED ATTRIBUTES SUB-ROUTES
856850

857851
def get_displayed_attributes(self) -> List[str]:
858-
"""
859-
Get displayed attributes of the index.
852+
"""Get displayed attributes of the index.
860853
861854
Returns
862855
-------
@@ -873,8 +866,7 @@ def get_displayed_attributes(self) -> List[str]:
873866
)
874867

875868
def update_displayed_attributes(self, body: List[str]) -> Dict[str, Any]:
876-
"""
877-
Update displayed attributes of the index.
869+
"""Update displayed attributes of the index.
878870
879871
Parameters
880872
----------
@@ -918,8 +910,7 @@ def reset_displayed_attributes(self) -> Dict[str, Any]:
918910
# STOP WORDS SUB-ROUTES
919911

920912
def get_stop_words(self) -> List[str]:
921-
"""
922-
Get stop words of the index.
913+
"""Get stop words of the index.
923914
924915
Returns
925916
-------
@@ -936,8 +927,7 @@ def get_stop_words(self) -> List[str]:
936927
)
937928

938929
def update_stop_words(self, body: List[str]) -> Dict[str, Any]:
939-
"""
940-
Update stop words of the index.
930+
"""Update stop words of the index.
941931
942932
Parameters
943933
----------
@@ -981,8 +971,7 @@ def reset_stop_words(self) -> Dict[str, Any]:
981971
# SYNONYMS SUB-ROUTES
982972

983973
def get_synonyms(self) -> Dict[str, List[str]]:
984-
"""
985-
Get synonyms of the index.
974+
"""Get synonyms of the index.
986975
987976
Returns
988977
-------
@@ -999,8 +988,7 @@ def get_synonyms(self) -> Dict[str, List[str]]:
999988
)
1000989

1001990
def update_synonyms(self, body: Dict[str, List[str]]) -> Dict[str, Any]:
1002-
"""
1003-
Update synonyms of the index.
991+
"""Update synonyms of the index.
1004992
1005993
Parameters
1006994
----------
@@ -1044,8 +1032,7 @@ def reset_synonyms(self) -> Dict[str, Any]:
10441032
# FILTERABLE ATTRIBUTES SUB-ROUTES
10451033

10461034
def get_filterable_attributes(self) -> List[str]:
1047-
"""
1048-
Get filterable attributes of the index.
1035+
"""Get filterable attributes of the index.
10491036
10501037
Returns
10511038
-------
@@ -1062,8 +1049,7 @@ def get_filterable_attributes(self) -> List[str]:
10621049
)
10631050

10641051
def update_filterable_attributes(self, body: List[str]) -> Dict[str, Any]:
1065-
"""
1066-
Update filterable attributes of the index.
1052+
"""Update filterable attributes of the index.
10671053
10681054
Parameters
10691055
----------
@@ -1108,8 +1094,7 @@ def reset_filterable_attributes(self) -> Dict[str, Any]:
11081094
# SORTABLE ATTRIBUTES SUB-ROUTES
11091095

11101096
def get_sortable_attributes(self) -> List[str]:
1111-
"""
1112-
Get sortable attributes of the index.
1097+
"""Get sortable attributes of the index.
11131098
11141099
Returns
11151100
-------
@@ -1126,8 +1111,7 @@ def get_sortable_attributes(self) -> List[str]:
11261111
)
11271112

11281113
def update_sortable_attributes(self, body: List[str]) -> Dict[str, Any]:
1129-
"""
1130-
Update sortable attributes of the index.
1114+
"""Update sortable attributes of the index.
11311115
11321116
Parameters
11331117
----------
@@ -1171,8 +1155,7 @@ def reset_sortable_attributes(self) -> Dict[str, Any]:
11711155
# TYPO TOLERANCE SUB-ROUTES
11721156

11731157
def get_typo_tolerance(self) -> Dict[str, Any]:
1174-
"""
1175-
Get typo tolerance of the index.
1158+
"""Get typo tolerance of the index.
11761159
11771160
Returns
11781161
-------
@@ -1189,8 +1172,7 @@ def get_typo_tolerance(self) -> Dict[str, Any]:
11891172
)
11901173

11911174
def update_typo_tolerance(self, body: Dict[str, Any]) -> Dict[str, Any]:
1192-
"""
1193-
Update typo tolerance of the index.
1175+
"""Update typo tolerance of the index.
11941176
11951177
Parameters
11961178
----------

0 commit comments

Comments
 (0)