How does execute_query_with_incremental_retry
actually work?
#939
Labels
execute_query_with_incremental_retry
actually work?
#939
Office365-REST-Python-Client/office365/sharepoint/client_context.py
Line 235 in 9584c62
It calls
Office365-REST-Python-Client/office365/runtime/client_runtime_context.py
Line 43 in 9584c62
Which iterates with a sleep and a sleep that uses a method argument, so I don't see how that sleep could be dynamic.
Python isn't my primary language, but I've made the assumption that the input argument, which is an int is passed by value and is not a mutable object, since it's an int.
In the sharepoint/client_context the
settings
object is local to the method, the_try_process_if_failed
is an internal method that only modifies thesettings
object, since you only callexecute_query_with_incremental_retry
once, and it only callsexecute_query_retry
once. I don't understand how the modification of thesettings
can have any effect.I would have expected a sleep instead inside of
_try_process_if_failed
, to impact the delay of the retry iteration in client_runtime_context.pyThe text was updated successfully, but these errors were encountered: