-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add copy method to drive.py #188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I've left a comment. Primarily next step is to move it to the GoogleDriveFile
class and we'll need to add tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good progress :) please, see some comments + we still need to add tests for this
Where the test should go? on also, I can't seem to run the existing ones :) but is most likely because of the authentication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good progress! Please take a look at the latest review.
Yes, but I would see if there are mentions in those If you can do a quick example - that would be great! If not that's also fine- not a blocker. Just let me know when you feel you are ready with that, and we'll merge it. |
- fixed style - fixed docstring - now the function will return the copied file - if new_title is None the new title will be "Copy of [old-title]"
- now i use the ability to return the copied file directly - adding new test to copy the file in a different folder
741ac0a
to
a34abe0
Compare
@shcheklein let's merge it like this. I plan to add other methods too like |
@simone-viozzi done, thanks for the PR. |
Hi i added the copy method keeping it as simple as possible.
this PR fixes #83 #53