ashb commented on a change in pull request #8950:
URL: https://github.com/apache/airflow/pull/8950#discussion_r428621218
##########
File path: scripts/perf/scheduler_dag_execution_timing.py
##########
@@ -131,11 +131,18 @@ def create_dag_runs(dag, num_runs, session):
from airflow.utils import timezone
from airflow.utils.state import State
+ try:
+ from airflow.utils.types import DagRunType
+ ID_PREFIX = f'{DagRunType.SCHEDULED}__'
Review comment:
Oh, no it _doesnt_.
```python console
In [5]: f'{DRT.SCHEDULED}__'
Out[5]: 'DagRunType.SCHEDULED__'
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]