@@ -63,11 +63,11 @@ def save_objects(self, objects, request_options=None):
6363
6464 if generate_object_id :
6565 response = self ._chunk ('addObject' , objects , request_options ,
66- False )
66+ False )
6767 else :
6868 try :
6969 response = self ._chunk ('updateObject' , objects ,
70- request_options )
70+ request_options )
7171 except MissingObjectIdException as e :
7272 message = str (e )
7373 message += ". All objects must have an unique objectID " \
@@ -163,10 +163,10 @@ def partial_update_objects(self, objects, request_options=None):
163163
164164 if generate_object_id :
165165 response = self ._chunk ('partialUpdateObject' , objects ,
166- request_options , False )
166+ request_options , False )
167167 else :
168168 response = self ._chunk ('partialUpdateObjectNoCreate' , objects ,
169- request_options )
169+ request_options )
170170
171171 return response
172172
@@ -475,7 +475,7 @@ def batch(self, requests, request_options=None):
475475 return IndexingResponse (self , [raw_response ])
476476
477477 def _chunk (self , action , objects , request_options ,
478- validate_object_id = True ):
478+ validate_object_id = True ):
479479 # type: (str, Union[List[dict], Iterator[dict]], Optional[Union[dict, RequestOptions]], bool) -> IndexingResponse # noqa: E501
480480
481481 raw_responses = []
0 commit comments