Skip to content

Conversation

@kacpermuda
Copy link
Contributor

Using json when casting collections to string in OL can be helpful for consumers, especially for things like DAG tags that are now casted with str() which can sometimes be hard to reverse. This is still compliant with the spec, we keep it as string, only changing the quotes for consistent ones really.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@kacpermuda kacpermuda force-pushed the ol-collections-json branch from d7d93df to 156fc43 Compare May 12, 2025 07:46
Copy link
Contributor

@mobuchowski mobuchowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've done similar thing and reverted it: #41786

If you need the tags in a different format, IMO the right solution would be to add them to a separate field and deprecate (but not remove) the current one.

@kacpermuda kacpermuda marked this pull request as draft May 13, 2025 15:08
@kacpermuda
Copy link
Contributor Author

I'll add TagJobFacet instead.

@kacpermuda kacpermuda closed this May 30, 2025
@kacpermuda kacpermuda deleted the ol-collections-json branch May 30, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants