NilsJPWerner edited a comment on issue #21336:
URL: https://github.com/apache/airflow/issues/21336#issuecomment-1058232926
I think it would have to be setup through some argument to the dag
initializer. For example:
```python
def custom_run_id_naming_function(context):
execution_date = context.get("data_interval_start")
return f"custom_name_{execution_date}"
with DAG(
"test_dag",
default_args=default_args,
schedule_interval="0 3 * * *",
run_id_namer=custom_run_id_naming_function,
) as dag:
pass
```
Maybe @ashb has an opinion
--
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]