ryanyuan commented on a change in pull request #18184:
URL: https://github.com/apache/airflow/pull/18184#discussion_r709996625



##########
File path: airflow/providers/google/cloud/operators/cloud_build.py
##########
@@ -15,121 +15,980 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-"""Operators that integrate with Google Cloud Build service."""
+
+"""Operators that integrates with Google Cloud Build service."""
+
 import json
 import re
+import warnings
 from copy import deepcopy
-from typing import Any, Dict, Optional, Sequence, Union
+from typing import Any, Dict, Optional, Sequence, Tuple, Union
 from urllib.parse import unquote, urlparse
 
-try:
-    import airflow.utils.yaml as yaml
-except ImportError:
-    import yaml
+import yaml
+from google.api_core.retry import Retry
+from google.cloud.devtools.cloudbuild_v1.types import Build, BuildTrigger, 
RepoSource

Review comment:
       Hey @mnojek , google.cloud.devtools.cloudbuild_v1 is from here:
   https://github.com/apache/airflow/blob/main/setup.py#L296
   
   Could you try rebuilding your docker image or do `pip install 
google-cloud-build`?




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to