Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-4255] Replace Discovery based api with client based for GCS #5054

Merged
merged 12 commits into from
Apr 9, 2019
4 changes: 2 additions & 2 deletions airflow/contrib/hooks/gcs_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ def is_updated_after(self, bucket, object, ts):

if blob_update_time > ts:
return True
else:
return False

return False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you approve this PR if you are ok with it :) ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! done. I like it :)


def delete(self, bucket, object):
"""
Expand Down