Srabasti commented on issue #53637: URL: https://github.com/apache/airflow/issues/53637#issuecomment-3543658728
Thanks for your reply and sharing the details @obarisk! Looks like the root cause is to fix the use of "airflow.sdk.api.datamodels._generated.DagRun" to use the internal/private API (since the underscore in _generated). FYI - looks like "airflow.sdk.api.datamodels._generated.DagRun" does not exist as below screenshot. <img width="1319" height="651" alt="Image" src="https://github.com/user-attachments/assets/d6138df9-c9ae-4629-a0ae-756e5fa3c1c9" /> Instead found it in below link. Observed it does not have both "queued_at" and "duration" https://github.com/apache/airflow/blob/main/task-sdk/src/airflow/sdk/api/datamodels/_generated.py My question is what is the utility of "queued_at" and "duration" field at this point of time in Airflow 3.X? Accordingly we need to decide whether to include it in https://airflow.apache.org/docs/task-sdk/stable/api.html, correct? As an example, if duration is a calculated field (difference between start and end times), we might not need to add it here, since users can calculate at their end. -- 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]
