dstandish opened a new pull request, #69982:
URL: https://github.com/apache/airflow/pull/69982
Clarify the `AssetPartitionDagRun` docstring.
The previous wording ("we should not allow more than one like this") didn't
state the
actual invariant. This spells out that:
- rows are never deleted from the table, so multiple records per
`target_dag_id` / `partition_key` are expected in general (each created
dag run leaves
its record behind), and
- the real constraint is at most one row with a **null**
`created_dag_run_id` per
`target_dag_id` / `partition_key` (the outstanding provisional run), which
the
`_lock_asset_model` mutex enforces.
Docstring-only; no behavior change.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.8)
Generated-by: Claude Code (Opus 4.8) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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]