Skip to content

Conversation

@bugraoz93
Copy link
Contributor

Closes: #42623


^ 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 newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 1, 2024
@bugraoz93 bugraoz93 requested a review from ashb as a code owner October 2, 2024 20:24
@bbovenzi
Copy link
Contributor

bbovenzi commented Oct 3, 2024

One nit after looking at the autogenerated code. Let's drop the word data. Just historical_metrics

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Looking good, just the comment above for the response schema and then we can merge I think

@pierrejeambrun
Copy link
Member

@bugraoz93 can you rebase the branch before I merge please, it is quite behind main. Thanks :)

@bugraoz93 bugraoz93 force-pushed the 42623/aip-84/historical-metrics-data branch from 3d4fe0e to 2b6a3ed Compare October 7, 2024 17:16
@bugraoz93
Copy link
Contributor Author

For sure, @pierrejeambrun, I rebased it. Thanks! :)

@bugraoz93
Copy link
Contributor Author

Okay, merges after my rebase caused conflicts. Solving them and rebasing again :)

@bugraoz93 bugraoz93 force-pushed the 42623/aip-84/historical-metrics-data branch from 8d7cd63 to bbcefb6 Compare October 7, 2024 17:52
@bbovenzi
Copy link
Contributor

bbovenzi commented Oct 8, 2024

Looks like we need another rebase and then running pre-commit for the auto-generated files.

@bugraoz93 bugraoz93 force-pushed the 42623/aip-84/historical-metrics-data branch from bbcefb6 to 4120809 Compare October 9, 2024 00:24
@bugraoz93 bugraoz93 force-pushed the 42623/aip-84/historical-metrics-data branch from 4120809 to 3de5f75 Compare October 9, 2024 00:29
@bugraoz93
Copy link
Contributor Author

Rebased and run the hooks.

@bugraoz93
Copy link
Contributor Author

While running the hooks, a new PR merged. I rebased again just in case. The speed of the development 🚀 :)

@pierrejeambrun pierrejeambrun merged commit 66a89f1 into apache:main Oct 9, 2024
kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
…che#42629)

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Use pyfixture session

* Include provide_session for SQLite session thread issue

* Make method async and remove unused session from tests

* Include return type to generate proper openapi spec

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Include pydantic model for Dashboard Historical Metric Data and convert response to HistoricalMetricDataResponse

* Fix conflict and rerun pre-commit hooks

* Rename data variable to historical metrics for consistency

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Drop data from method name to prevent double Data in the name of objects

* Variable name change to prevent shadow naming with method name

* Resolve conflicts and rebase again

* Resolve conflicts and rebase
pavansharma36 pushed a commit to pavansharma36/airflow that referenced this pull request Oct 14, 2024
…che#42629)

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Use pyfixture session

* Include provide_session for SQLite session thread issue

* Make method async and remove unused session from tests

* Include return type to generate proper openapi spec

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Include pydantic model for Dashboard Historical Metric Data and convert response to HistoricalMetricDataResponse

* Fix conflict and rerun pre-commit hooks

* Rename data variable to historical metrics for consistency

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Drop data from method name to prevent double Data in the name of objects

* Variable name change to prevent shadow naming with method name

* Resolve conflicts and rebase again

* Resolve conflicts and rebase
R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
…che#42629)

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Use pyfixture session

* Include provide_session for SQLite session thread issue

* Make method async and remove unused session from tests

* Include return type to generate proper openapi spec

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Include pydantic model for Dashboard Historical Metric Data and convert response to HistoricalMetricDataResponse

* Fix conflict and rerun pre-commit hooks

* Rename data variable to historical metrics for consistency

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Drop data from method name to prevent double Data in the name of objects

* Variable name change to prevent shadow naming with method name

* Resolve conflicts and rebase again

* Resolve conflicts and rebase
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
…che#42629)

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Use pyfixture session

* Include provide_session for SQLite session thread issue

* Make method async and remove unused session from tests

* Include return type to generate proper openapi spec

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Include pydantic model for Dashboard Historical Metric Data and convert response to HistoricalMetricDataResponse

* Fix conflict and rerun pre-commit hooks

* Rename data variable to historical metrics for consistency

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Drop data from method name to prevent double Data in the name of objects

* Variable name change to prevent shadow naming with method name

* Resolve conflicts and rebase again

* Resolve conflicts and rebase
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
…che#42629)

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Use pyfixture session

* Include provide_session for SQLite session thread issue

* Make method async and remove unused session from tests

* Include return type to generate proper openapi spec

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Include pydantic model for Dashboard Historical Metric Data and convert response to HistoricalMetricDataResponse

* Fix conflict and rerun pre-commit hooks

* Rename data variable to historical metrics for consistency

* Include object router and migrate objects/historical_metrics_data to FastAPI

* Object definition to Dashboard definition, make safe date Annotated parameter in parameters.py

* Drop data from method name to prevent double Data in the name of objects

* Variable name change to prevent shadow naming with method name

* Resolve conflicts and rebase again

* Resolve conflicts and rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIP-84 Migrate /object/historical_metrics_data from views to FastAPI

3 participants