@@ -666,8 +666,7 @@ def reset_settings(self) -> Dict[str, Any]:
666
666
# RANKING RULES SUB-ROUTES
667
667
668
668
def get_ranking_rules (self ) -> List [str ]:
669
- """
670
- Get ranking rules of the index.
669
+ """Get ranking rules of the index.
671
670
672
671
Returns
673
672
-------
@@ -684,8 +683,7 @@ def get_ranking_rules(self) -> List[str]:
684
683
)
685
684
686
685
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.
689
687
690
688
Parameters
691
689
----------
@@ -729,8 +727,7 @@ def reset_ranking_rules(self) -> Dict[str, Any]:
729
727
# DISTINCT ATTRIBUTE SUB-ROUTES
730
728
731
729
def get_distinct_attribute (self ) -> Optional [str ]:
732
- """
733
- Get distinct attribute of the index.
730
+ """Get distinct attribute of the index.
734
731
735
732
Returns
736
733
-------
@@ -747,8 +744,7 @@ def get_distinct_attribute(self) -> Optional[str]:
747
744
)
748
745
749
746
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.
752
748
753
749
Parameters
754
750
----------
@@ -792,8 +788,7 @@ def reset_distinct_attribute(self) -> Dict[str, Any]:
792
788
# SEARCHABLE ATTRIBUTES SUB-ROUTES
793
789
794
790
def get_searchable_attributes (self ) -> List [str ]:
795
- """
796
- Get searchable attributes of the index.
791
+ """Get searchable attributes of the index.
797
792
798
793
Returns
799
794
-------
@@ -810,8 +805,7 @@ def get_searchable_attributes(self) -> List[str]:
810
805
)
811
806
812
807
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.
815
809
816
810
Parameters
817
811
----------
@@ -855,8 +849,7 @@ def reset_searchable_attributes(self) -> Dict[str, Any]:
855
849
# DISPLAYED ATTRIBUTES SUB-ROUTES
856
850
857
851
def get_displayed_attributes (self ) -> List [str ]:
858
- """
859
- Get displayed attributes of the index.
852
+ """Get displayed attributes of the index.
860
853
861
854
Returns
862
855
-------
@@ -873,8 +866,7 @@ def get_displayed_attributes(self) -> List[str]:
873
866
)
874
867
875
868
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.
878
870
879
871
Parameters
880
872
----------
@@ -918,8 +910,7 @@ def reset_displayed_attributes(self) -> Dict[str, Any]:
918
910
# STOP WORDS SUB-ROUTES
919
911
920
912
def get_stop_words (self ) -> List [str ]:
921
- """
922
- Get stop words of the index.
913
+ """Get stop words of the index.
923
914
924
915
Returns
925
916
-------
@@ -936,8 +927,7 @@ def get_stop_words(self) -> List[str]:
936
927
)
937
928
938
929
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.
941
931
942
932
Parameters
943
933
----------
@@ -981,8 +971,7 @@ def reset_stop_words(self) -> Dict[str, Any]:
981
971
# SYNONYMS SUB-ROUTES
982
972
983
973
def get_synonyms (self ) -> Dict [str , List [str ]]:
984
- """
985
- Get synonyms of the index.
974
+ """Get synonyms of the index.
986
975
987
976
Returns
988
977
-------
@@ -999,8 +988,7 @@ def get_synonyms(self) -> Dict[str, List[str]]:
999
988
)
1000
989
1001
990
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.
1004
992
1005
993
Parameters
1006
994
----------
@@ -1044,8 +1032,7 @@ def reset_synonyms(self) -> Dict[str, Any]:
1044
1032
# FILTERABLE ATTRIBUTES SUB-ROUTES
1045
1033
1046
1034
def get_filterable_attributes (self ) -> List [str ]:
1047
- """
1048
- Get filterable attributes of the index.
1035
+ """Get filterable attributes of the index.
1049
1036
1050
1037
Returns
1051
1038
-------
@@ -1062,8 +1049,7 @@ def get_filterable_attributes(self) -> List[str]:
1062
1049
)
1063
1050
1064
1051
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.
1067
1053
1068
1054
Parameters
1069
1055
----------
@@ -1108,8 +1094,7 @@ def reset_filterable_attributes(self) -> Dict[str, Any]:
1108
1094
# SORTABLE ATTRIBUTES SUB-ROUTES
1109
1095
1110
1096
def get_sortable_attributes (self ) -> List [str ]:
1111
- """
1112
- Get sortable attributes of the index.
1097
+ """Get sortable attributes of the index.
1113
1098
1114
1099
Returns
1115
1100
-------
@@ -1126,8 +1111,7 @@ def get_sortable_attributes(self) -> List[str]:
1126
1111
)
1127
1112
1128
1113
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.
1131
1115
1132
1116
Parameters
1133
1117
----------
@@ -1171,8 +1155,7 @@ def reset_sortable_attributes(self) -> Dict[str, Any]:
1171
1155
# TYPO TOLERANCE SUB-ROUTES
1172
1156
1173
1157
def get_typo_tolerance (self ) -> Dict [str , Any ]:
1174
- """
1175
- Get typo tolerance of the index.
1158
+ """Get typo tolerance of the index.
1176
1159
1177
1160
Returns
1178
1161
-------
@@ -1189,8 +1172,7 @@ def get_typo_tolerance(self) -> Dict[str, Any]:
1189
1172
)
1190
1173
1191
1174
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.
1194
1176
1195
1177
Parameters
1196
1178
----------
0 commit comments