You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I use service account to connect to google services. It has different credentials. But also sometimes I use regular credentials. So I wrote a function which returns a service object, so I can use it to read from google sheet. Like this:
import apiclient
from google.oauth2 import service_account as google_service_account
...
credentials = google_service_account.Credentials.from_service_account_file(
credentialPath, scopes = scopes )
service = apiclient.discovery.build(apiName, apiVersion, credentials = credentials)
Can you please change df2gspread.upload function, so I can pass to it service object
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hey
Sometimes I use service account to connect to google services. It has different credentials. But also sometimes I use regular credentials. So I wrote a function which returns a service object, so I can use it to read from google sheet. Like this:
Can you please change df2gspread.upload function, so I can pass to it service object
Thanks in advance
The text was updated successfully, but these errors were encountered: