ashb commented on a change in pull request #20933:
URL: https://github.com/apache/airflow/pull/20933#discussion_r787101820



##########
File path: docs/apache-airflow/howto/create-custom-decorator.rst
##########
@@ -105,7 +105,7 @@ automatically provided by default. All other arguments 
should be copied directly
 and we recommend adding a comment to explain what arguments are filled 
automatically by FooDecoratedOperator
 and thus not included.
 
-You should also add an overload at the end of the class similar to this so 
mypy can recognize the function as
+You should also add an overload that takes a single calable immediately after 
the "real" definition so mypy can recognize the function as

Review comment:
       ```suggestion
   You should also add an overload that takes a single callable immediately 
after the "real" definition so mypy can recognize the function as
   ```




-- 
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]


Reply via email to