ericpp commented on a change in pull request #20433:
URL: https://github.com/apache/airflow/pull/20433#discussion_r773597331



##########
File path: airflow/providers/tableau/operators/tableau.py
##########
@@ -107,6 +107,7 @@ def execute(self, context: dict) -> str:
             error_message = f'Method not found! Available methods for 
{self.resource}: {available_methods}'
             raise AirflowException(error_message)
 
+        job_id = ""

Review comment:
       I added it in case the `TableauHook` context fails and it's left 
undefined. But I suppose if that were to happen, it would throw an exception 
and wouldn't reach `return job_id` anyway. I can remove it.




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