GitHub user potiuk added a comment to the discussion: Changing apply_function 
in AwaitMessageSensor or AwaitMessageTrigger requires trigger restart

You should implement restarting triggerrer as part of your workflow when you 
change the function. Reapplying python code to a running triggerer, generally 
requires restarting of the Python interpreter - this is a nature of event loop 
- which achieves speed and deferrability thanks to the fact that it does not 
need to restart interpreter or create a new interpreter. This is how Python 
works. 

If you want to update the documetnation after you got it explained - feel free. 
There is  "Suggest a change in this page" button in our docs and anyone - 
including you can click it and PR will be open for you where you might update 
the docs using GitHub UI - as easy as creating the issue above. You are 
probably one of the best people to know where to update the docs and how to 
explain it for people like you to understand that this is expected behaviour. 

GitHub link: 
https://github.com/apache/airflow/discussions/46473#discussioncomment-12071919

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to