Address code review feedback: improve variable naming and parameter order

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-07 17:58:08 +00:00
parent 3d2d8cca1a
commit e20c88dbc7
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -240,17 +240,17 @@ def upload_to_google_drive(self, file_path: str, file_id: int = None, include_me
).execute()
# Log success details
file_id_gd = file.get('id')
google_drive_file_id = file.get('id')
web_view_link = file.get('webViewLink')
logger.info(f"[{task_id}] Successfully uploaded {filename} to Google Drive with ID: {file_id_gd}")
logger.info(f"[{task_id}] Successfully uploaded {filename} to Google Drive with ID: {google_drive_file_id}")
logger.info(f"[{task_id}] File accessible at: {web_view_link}")
log_task_progress(task_id, "upload_to_google_drive", "success", f"Uploaded to Google Drive: {filename}", file_id=file_id)
result = {
"status": "Completed",
"file_path": file_path,
"google_drive_file_id": file_id_gd,
"google_drive_file_id": google_drive_file_id,
"google_drive_web_link": web_view_link
}