kaxil commented on a change in pull request #18955: URL: https://github.com/apache/airflow/pull/18955#discussion_r728318565
########## File path: docs/apache-airflow/upgrading-from-1-10/index.rst ########## @@ -355,6 +355,21 @@ Old Keys New keys For more information, visit https://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-oauth +**Breaking Change in Pendulum Support** + +Airflow has upgraded from Pendulum 1.x to Pendulum 2.x. +This comes with a few breaking changes as certain methods and their definitions in Pendulum 2.x +have changed or have been removed. + +For instance the following snippet will now throw errors: + +.. code-block:: python + + execution_date.format('YYYY-MM-DD HH:mm:ss', formatter='alternative') + +as the `formatter` option is not supported in Pendulum 2.x and `alternative` is used by default. Review comment: ```suggestion as the ``formatter`` option is not supported in Pendulum 2.x and ``alternative`` is used by default. ``` as it is RST -- 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]
