Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-84 Refactor SortParm #44345

Merged

Conversation

jason810496
Copy link
Contributor

Related: #42959 (comment)

Refactor SortParam

Leverage the to_replace functionality introduced in #43793 and allow the Column type to be used in the to_replace dictionary.
This change enables the complete removal of attr_mapping from SortParam, as most instances of SortParam do not require attr_mapping.

@pierrejeambrun
Copy link
Member

Need to resolve conflicts. Good to merge

@jason810496 jason810496 force-pushed the feature/AIP-84/refactor-sort-param branch from b0c54cb to c566985 Compare November 26, 2024 12:59
@jason810496
Copy link
Contributor Author

Resolve conflict, wait for CI ⚙️

@jason810496 jason810496 force-pushed the feature/AIP-84/refactor-sort-param branch from 551d3ab to 54e69ef Compare November 26, 2024 16:32
@jason810496
Copy link
Contributor Author

Just adapt #44393 to this PR.

@pierrejeambrun pierrejeambrun merged commit 5719d19 into apache:main Nov 27, 2024
45 checks passed
ArshiaZr pushed a commit to ArshiaZr/airflow that referenced this pull request Nov 27, 2024
* Refactor get_connections

* Allow Column type for `to_replace` parameter

* Refactor get_dags

* Refactor get_import_errors

* Refactor SortParam, get_dag_runs

* Fix default ordering when directly using SortParam

- related: apache#44393

* Fix get_list_dag_runs_batch
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
* Refactor get_connections

* Allow Column type for `to_replace` parameter

* Refactor get_dags

* Refactor get_import_errors

* Refactor SortParam, get_dag_runs

* Fix default ordering when directly using SortParam

- related: apache#44393

* Fix get_list_dag_runs_batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants