You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/15 07:57:46 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #23025: fix empty materialization id handling

uranusjr commented on code in PR #23025:
URL: https://github.com/apache/airflow/pull/23025#discussion_r851128973


##########
airflow/providers/google/cloud/sensors/looker.py:
##########
@@ -53,6 +53,11 @@ def poke(self, context: "Context") -> bool:
 
         self.hook = LookerHook(looker_conn_id=self.looker_conn_id)
 
+        if not self.materialization_id:
+            raise AirflowException(
+                f'Invalid `materialization_id`.'
+            )

Review Comment:
   ```suggestion
               raise AirflowException('Invalid `materialization_id`.')
   ```



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org