uranusjr commented on a change in pull request #20425:
URL: https://github.com/apache/airflow/pull/20425#discussion_r772459535



##########
File path: airflow/example_dags/example_task_group_decorator.py
##########
@@ -33,19 +33,19 @@ def task_start():
 
 
 @task
-def task_1(value):
+def task_1(value: int):

Review comment:
       ```suggestion
   def task_1(value: int) -> str:
   ```
   
   Probably worthwhile to add annotations for return values as well. (Same 
applies everywhere.)




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