I am trying to upload a .zip to cloud run function which contains main.py and a other files along with a token.pickle which save 0auth info. But after the cloud run function is created, I'm unable to see the pickle file in source and also not able to use it . Image
I rechecked and I'm indeed zipping that and uploading it as zip but can't see in the source of cloud run function
This can be only fixed by storing token.pickle file in gcs bucket or secret mananger and then calling it from cloud run function. This is because probably cloud run does't allow to store certain files and also its stateless.