This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7f6ab06 Fix typo in docs (#20371)
7f6ab06 is described below
commit 7f6ab06d218973900ead79b74b7c9dca4734ee06
Author: Daniel van der Ende <[email protected]>
AuthorDate: Fri Dec 17 13:38:19 2021 +0100
Fix typo in docs (#20371)
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 b6a9a7b..ebb6c15 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!