uranusjr opened a new pull request, #44282: URL: https://github.com/apache/airflow/pull/44282
The 'airflow dags trigger' command takes -e and --exec-date referring to the legacy "execution date" name. New -l and --logical-date flags have been added to refer to the new "logical date" name. A custom argument action is implemented to emit a deprecation message when either -e or --exec-date is used instead of the new flags. Note that we do not use warnings.warn() here, but emit a message directly to stderr, because this is intended to be fired by a CLI call, which does not want the call stack provided by warnings.warn(). This is also what argparse does when you use the new 'deprecated' option on an argument (new in Python 3.13). -- 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]
