kir-rin commented on PR #67325:
URL: https://github.com/apache/airflow/pull/67325#issuecomment-4524201540

   Closing this PR.
   
   After further investigation:
   1. **Restart is standard practice** - Airflow reads config at process 
startup. Restarting processes after config change is the expected workflow.
   2. **Pattern is widespread** - The default argument pattern (`param: bool = 
conf.getboolean(...)`) is used 219+ times across the codebase (e.g., 
`deferrable` parameter in operators/sensors). Changing it only here would 
create inconsistency.
   
   Based on these reasons, the behavior of evaluating default arguments at 
module load time is standard Python behavior and consistent with Airflow's 
design philosophy. This is not a code bug.


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