jroachgolf84 commented on issue #55524:
URL: https://github.com/apache/airflow/issues/55524#issuecomment-3282199454

   Switching the order of `start_date` and `required_arg` seems to have done 
the trick. Here's what's going on:
   
   * That code snippet you sent is actually making `start_date` a keyword 
argument vs. a positional argument.
   * Python has a convention that positional arguments proceed keyword 
arguments.
   
   Now, I'm not sure why this is first popping up in Airflow 3.0... What would 
the lift be to make a change like this? There are two options:
   
   1. Flip the order of `start_date` and `required_arg`.
   2. Add a default value for `required_arg` (which, makes it no longer 
required). However, you could add logic to catch that in the function.


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