ryanyuan commented on pull request #8575:
URL: https://github.com/apache/airflow/pull/8575#issuecomment-685725941


   > > For the exception you had, it seems you ran the example dag but it 
failed in the midway and you re-ran it so that it said the trigger already 
existed. I tried to add a try catch to return the trigger if it already exists 
but I am unable to find a good way to get the trigger id, which will be used in 
CloudBuildHook.get_build_trigger().
   > 
   > Should we then add note that the operator is not idempotent?
   
   Good idea. I've put a message in cloud_build.rst to remind the users the 
build ID and the trigger ID are not idempotent.


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


Reply via email to