uranusjr commented on PR #25280:
URL: https://github.com/apache/airflow/pull/25280#issuecomment-1204865354
I wonder if it’s better to only allow links on the DAG, or alternatively
design the DAG interface like this instead:
```python
with DAG(..., owner_links={"owner1": link1, "owner2": link2, ...}):
task1 = Operator(..., owner="owner2")
```
This would work a bit better with duplicates, and avoid weird cases like
this:
```python
with DAG(..., owner={"name": "uranusjr", "link": "https://uranusjr.com"}):
task = Operator(..., owner={"name": "uranusjr", "link":
"https://uranusjr.io"}) # Oops!
```
--
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]