Skip to content

Commit

Permalink
Fix typo in docs (#20371)
Browse files Browse the repository at this point in the history
Minor typo in the task decorator documentation
  • Loading branch information
danielvdende authored Dec 17, 2021
1 parent a99d44d commit 7f6ab06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/howto/create-custom-decorator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down

0 comments on commit 7f6ab06

Please sign in to comment.