File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
backend/onyx/connectors/google_drive Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ def _impersonate_user_for_retrieval(
484
484
DriveRetrievalStage .MY_DRIVE_FILES ,
485
485
)
486
486
curr_stage .stage = DriveRetrievalStage .SHARED_DRIVE_FILES
487
+ curr_stage .current_folder_or_drive_id = None
487
488
return # resume from next stage on the next run
488
489
489
490
if curr_stage .stage == DriveRetrievalStage .SHARED_DRIVE_FILES :
@@ -532,6 +533,7 @@ def _yield_from_drive(
532
533
return # resume from this drive on the next run
533
534
yield from _yield_from_drive (drive_id , start )
534
535
curr_stage .stage = DriveRetrievalStage .FOLDER_FILES
536
+ curr_stage .current_folder_or_drive_id = None
535
537
return # resume from next stage on the next run
536
538
537
539
# In the folder files section of service account retrieval we take extra care
You can’t perform that action at this time.
0 commit comments