potiuk commented on a change in pull request #4500: [AIRFLOW-3681] All GCP
operators have now optional GCP Project ID
URL: https://github.com/apache/airflow/pull/4500#discussion_r247325918
##########
File path: airflow/contrib/hooks/gcp_spanner_hook.py
##########
@@ -39,13 +37,14 @@ def __init__(self,
delegate_to=None):
super(CloudSpannerHook, self).__init__(gcp_conn_id, delegate_to)
+ @GoogleCloudBaseHook.fallback_to_default_project_id
def get_client(self, project_id):
- # type: (str) -> Client
+ # noinspection LongLine
Review comment:
Removed all those, though I wish there was a more Intellij/PEP8/flake
consistent way of pasting long URLs in docstrings :(
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services