You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code in searchFilesInitialize expects _initial_invalid_state to be true before making an API call. This flag is set to true in the constructor. After a first call to searchFilesInitialize everything works correctly, you can call afterwards getNextResponse, getPreviousResponse, etc.
However if you try to start a new search with the SearchFiles object calling again searchFilesInitialize, you will not be able to use getNextResponse, getPreviousResponse, etc. because searchFilesInitialize doesn't reset _initial_invalid_state to true.
Proposed fix (if applicable)
Add _initial_invalid_state = true; add the end of searchFilesInitialize.
The text was updated successfully, but these errors were encountered:
Issue report
Brief description of issue
Code in
searchFilesInitialize
expects_initial_invalid_state
to be true before making an API call. This flag is set to true in the constructor. After a first call tosearchFilesInitialize
everything works correctly, you can call afterwardsgetNextResponse
,getPreviousResponse
, etc.However if you try to start a new search with the SearchFiles object calling again
searchFilesInitialize
, you will not be able to usegetNextResponse
,getPreviousResponse
, etc. becausesearchFilesInitialize
doesn't reset_initial_invalid_state
to true.Proposed fix (if applicable)
Add
_initial_invalid_state = true;
add the end ofsearchFilesInitialize
.The text was updated successfully, but these errors were encountered: