Google Api Client - AttributeError: 'str' object has no attribute 'authorize'
问题 My code was working up until I decided to move my Google Api credentials into my Docker env. I'm using Flask as a web server framework. This is my set up: DOCKER: docker-compose-dev.yml environment: - FLASK_ENV=development - APP_SETTINGS=project.config.DevelopmentConfig - GOOGLE_APPLICATION_CREDENTIALS=/usr/src/app/project/api/resources/youtube/urls/project-84a0ef4dcd33.json FLASK: config.py class DevelopmentConfig(BaseConfig): CREDENTIALS = os.environ.get('GOOGLE_APPLICATION_CREDENTIALS')