Skip to content

Commit

Permalink
feat: update tags and review notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Oct 2, 2023
1 parent c84961e commit 11de646
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 331 deletions.
2 changes: 1 addition & 1 deletion Google Drive/Google_Drive_Create_folder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tags": []
},
"source": [
"**Tags:** #google #drive #list #folder #python #api"
"**Tags:** #googledrive #google #drive #create #folder #python #api #snippet"
]
},
{
Expand Down
316 changes: 0 additions & 316 deletions Google Drive/Google_Drive_Download_file.ipynb

This file was deleted.

8 changes: 4 additions & 4 deletions Google Drive/Google_Drive_Move_file.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tags": []
},
"source": [
"**Tags:** #googledrive #google #drive #remove #object #python #api"
"**Tags:** #googledrive #google #drive #move #object #python #api"
]
},
{
Expand Down Expand Up @@ -63,7 +63,7 @@
"tags": []
},
"source": [
"**Description:** This notebook removes an object in a Google Drive account."
"**Description:** This notebook moves a file to another folder in a Google Drive account."
]
},
{
Expand Down Expand Up @@ -147,8 +147,8 @@
"outputs": [],
"source": [
"service_account_file = 'service_account.json'\n",
"file_id = 'file-id-to-move'\n",
"folder_id = 'destination-folder-id'"
"file_id = '10XwzBEJhWAjUamqtmRL-klB_-WfQ05rj'\n",
"folder_id = '1ngN-HoY6llMQknDL09rKskpozql6vNYd'"
]
},
{
Expand Down
13 changes: 3 additions & 10 deletions Google Drive/Google_Drive_Remove_file.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,9 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "0fdd3dbb-6868-4921-be2c-793d7f4465e9",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-29T13:50:31.625499Z",
"iopub.status.busy": "2023-09-29T13:50:31.625262Z",
"iopub.status.idle": "2023-09-29T13:50:31.628763Z",
"shell.execute_reply": "2023-09-29T13:50:31.628036Z",
"shell.execute_reply.started": "2023-09-29T13:50:31.625474Z"
},
"papermill": {},
"tags": []
},
Expand Down Expand Up @@ -153,7 +146,7 @@
"outputs": [],
"source": [
"service_account_file = 'service_account.json'\n",
"object_id = \"1NkwIJ1GysFOkRLYGZA2HP9Cb4HplEUE7\""
"object_id = \"1ngN-HoY6llMQknDL09rKskpozql6vNYd\""
]
},
{
Expand Down Expand Up @@ -223,7 +216,7 @@
" # Delete object\n",
" service.files().delete(fileId=object_id).execute()\n",
"\n",
" print(f\"Object with ID: {object_id} has been deleted\")\n",
" print(f\"Object with ID: {object_id} has been deleted.\")\n",
" return object_id\n",
"\n",
"object_id = remove_file(\n",
Expand Down

0 comments on commit 11de646

Please sign in to comment.