execute_query_retry
in client_runtime_context.py
may leave the context in a dirty state
#938
Labels
execute_query_retry
in client_runtime_context.py
may leave the context in a dirty state
#938
Office365-REST-Python-Client/office365/runtime/client_runtime_context.py
Lines 43 to 71 in 9584c62
If the last attempt fails with a
ClientRequestException
it will still re-queue the query.But it will never consume it, since line 63 would never be called again. Unless the context is re-used and the query would be executed for a different
item
which could cause all sorts of issues.Since there is no exception/error raised when max attempts have been performed.
This dirty state is unknown unless failure callback is implemented to keep track of this,
clear()
is called after each use or context is re-created after each use.The text was updated successfully, but these errors were encountered: