smalsale commented on issue #32700:
URL: https://github.com/apache/airflow/issues/32700#issuecomment-1648789593

   > In your example, you are calling the task calculate from itself:
   > 
   > > @task(
   > > task_id="calculate",
   > > retries=1,
   > > retry_delay=timedelta(seconds=30),
   > > pool=FLIGHT_POOL,
   > > weight_rule=WeightRule.UPSTREAM,
   > > show_return_value_in_logs=False
   > > )
   > > def calculate(flights: Dict, **kwargs):
   > > return calculate([build(flights["flight_id"])])
   > 
   > Could you check your code or fix the example?
   
   No, I changed it to `return sla_calculate([build(flights["flight_id"])])`


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