mik-laj commented on issue #13145:
URL: https://github.com/apache/airflow/issues/13145#issuecomment-757484026
> What about something like this?
We don't know about all the tries in the database, only about latest.
> taskName1: [
Using a user input as a key is very problematic as it hampers API
development. You can't add a new key if needed without breaking changes.
For example: You can represent tags as a simple list of string
```json
"tags": ["AA", "BB"]
```
However, this means that you will not be able to add color to the tag if
necessary.
A better APi should therefore look like this.
```json
"tags": [{"name": "AA", "name": "BB"}]
```
----------------------------------------------------------------
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]