@@ -373,7 +373,6 @@ def streaming_bulk(
373373 * args : Any ,
374374 ** kwargs : Any ,
375375) -> Iterable [Tuple [bool , Dict [str , Any ]]]:
376-
377376 """
378377 Streaming bulk consumes actions from the iterable passed in and yields
379378 results per action. For non-streaming usecases use
@@ -422,7 +421,6 @@ def streaming_bulk(
422421 for bulk_data , bulk_actions in _chunk_actions (
423422 map (expand_action_callback , actions ), chunk_size , max_chunk_bytes , serializer
424423 ):
425-
426424 for attempt in range (max_retries + 1 ):
427425 to_retry : List [bytes ] = []
428426 to_retry_data : List [
@@ -448,7 +446,6 @@ def streaming_bulk(
448446 ** kwargs ,
449447 ),
450448 ):
451-
452449 if not ok :
453450 action , info = info .popitem ()
454451 # retry if retries enabled, we get 429, and we are not
@@ -770,7 +767,6 @@ def reindex(
770767 scan_kwargs : MutableMapping [str , Any ] = {},
771768 bulk_kwargs : MutableMapping [str , Any ] = {},
772769) -> Tuple [int , Union [int , List [Dict [str , Any ]]]]:
773-
774770 """
775771 Reindex all documents from one index that satisfy a given query
776772 to another, potentially (if `target_client` is specified) on a different cluster.
0 commit comments