diff --git a/hooks/google_analytics_hook.py b/hooks/google_analytics_hook.py index 99f4154..dd41c85 100644 --- a/hooks/google_analytics_hook.py +++ b/hooks/google_analytics_hook.py @@ -34,8 +34,8 @@ from airflow.hooks.base_hook import BaseHook from airflow import configuration as conf -from apiclient.discovery import build -from apiclient.http import MediaInMemoryUpload +from googleapiclient.discovery import build +from googleapiclient.http import MediaInMemoryUpload from oauth2client.service_account import ServiceAccountCredentials from oauth2client.client import AccessTokenCredentials from collections import namedtuple diff --git a/requirements.txt b/requirements.txt index 2524a19..e7073bf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ +google-api-python-client==1.7.11 google-api-core=1.2.1 -google-api-python-client==1.7.3 -oauth2client==4.1.2 +oauth2client==4.1.3