Skip to content

Conversation

@jason810496
Copy link
Member

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
Member 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
Member Author

Just adapt #44393 to this PR.

@pierrejeambrun pierrejeambrun merged commit 5719d19 into apache:main Nov 27, 2024
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
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 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