Closed alexwolson closed 1 year ago
Sonal, I addressed all of your comments in my latest commit except for the comment about a separate development folder. Thank you for your feedback! I'm learning a lot.
Sonal, I addressed all of your comments in my latest commit except for the comment about a separate development folder. Thank you for your feedback! I'm learning a lot.
Reviewed the changes, looks awesome!
Almost completely contained within the
drive.py
file.Quick rundown:
token.pickle
file directly to anyone who wants to test this, I suppose.upload_directory
. This recursively creates folders and then uploads the files within them. It checks if these files and folders exist first, so it won't upload a file which is already there.upload_file
does what it says - it also specifies the mime type of each file, for better preview on google drive.This is tested & working on my end. Fairly straightforward implementation once I got the hang of all the oauth2 stuff.