mik-laj commented on a change in pull request #4842: [AIRFLOW-4014] Change
DatastoreHook and add tests
URL: https://github.com/apache/airflow/pull/4842#discussion_r262881218
##########
File path: airflow/contrib/hooks/gcp_api_base_hook.py
##########
@@ -131,7 +131,7 @@ def _get_access_token(self):
"""
return self._get_credentials().token
- def _authorize(self):
+ def authorize(self):
Review comment:
Why do you think that this method should be public? It seems to me that
this should not be part of the public interface. This is the implementation
detail for spefic library. It's should be protected.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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