From 631380a34fba5be194619232433c665aa3f4b14b Mon Sep 17 00:00:00 2001 From: Daniel van der Ende Date: Fri, 17 Dec 2021 09:28:02 +0100 Subject: [PATCH] Fix typo in docs Minor typo in the task decorator documentation --- docs/apache-airflow/howto/create-custom-decorator.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apache-airflow/howto/create-custom-decorator.rst b/docs/apache-airflow/howto/create-custom-decorator.rst index b6a9a7b8bbef0..ebb6c1502325c 100644 --- a/docs/apache-airflow/howto/create-custom-decorator.rst +++ b/docs/apache-airflow/howto/create-custom-decorator.rst @@ -53,7 +53,7 @@ tasks. The steps to create and register ``@task.foo`` are: 3. Register your new decorator in get_provider_info of your provider - Finally, add a key-value ``task-decortor`` to the dict returned from the provider entrypoint. This should be + Finally, add a key-value ``task-decorators`` to the dict returned from the provider entrypoint. This should be a list with each item containing ``name`` and ``class-name`` keys. When Airflow starts, the ``ProviderManager`` class will automatically import this value and ``task.foo`` will work as a new decorator!