Skip to content
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

Example with v3 doesn't works #237

Open
pablojrosa opened this issue Jan 7, 2022 · 1 comment
Open

Example with v3 doesn't works #237

pablojrosa opened this issue Jan 7, 2022 · 1 comment

Comments

@pablojrosa
Copy link

This example works fine, but trying to upload a new file using v3 instead of v2, fails: build ('drive', 'v2', credentials=creds). That is because drive_service.files () does not have the .insert () method.

image

I have not solved it yet, I will keep reading and improving my code so that I can create an example to share with the community, but
In case I can't figure it out, could you upload an example? Thanks

@sqrrrl
Copy link
Member

sqrrrl commented Jan 27, 2022

Will take a look at the sample soon, but in the mean time, when migrating from v2 to v3 change insert -> create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants