I'm writing python scripts that access google bigquery tables. I use the google_auth_oauthlib flow module to obtain credentials, but the way I'm doing it requires authenticating each time I run the scripts. I tried pickling the credentials and reusing them, which works fine.
I'd like to know if it is ok to pickle my credentials and reuse them and also if there is a better way to authenticate in a persistent manner.
Thank you!
2.1m questions
2.1m answers
60 comments
57.0k users