KamranImaaz commented on PR #61124:
URL: https://github.com/apache/airflow/pull/61124#issuecomment-3806882444

   And Also Shahar this we are using everywhere in the operator instead of that 
we can use `instance.exists()` in one line in hooks right??
   ```
           instance = hook.get_instance(project_id=self.project_id, 
instance_id=self.instance_id)
           if not instance:
               raise AirflowException(f"Dependency: instance 
'{self.instance_id}' does not exist.")
   ```


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