Uh oh!
There was an error while loading. Please reload this page.
AIP-84 Fix: Allow Null Values for end_date Field in Dashboard Endpint in FastAPI - #44043
Conversation
Uh oh!
There was an error while loading. Please reload this page.
pierrejeambrun
left a comment
There was a problem hiding this comment.
Thanks a few suggestions
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tirkarthi
commented
Nov 16, 2024
The following were added in #43934 . The changes broke dashboard endpoint probably due |
a4992ad to
ac48b0bComparebugraoz93
commented
Nov 16, 2024
I’ve made the adjustments in the methods and let FastAPI handle it as a
I haven’t updated the annotation to |
bugraoz93
commented
Nov 16, 2024
FastAPI itself returns
https://fastapi.tiangolo.com/tutorial/extra-data-types/?h=datet#other-data-types |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Looks good, let us just merge again the PR introducing OptionalDateTimeQuery (it got reverted because of CI issues not catching tests etc...) and we should be good to go
Uh oh!
There was an error while loading. Please reload this page.
ac48b0b to
20484b1Comparebugraoz93
commented
Nov 18, 2024
Thanks for the quick reviews and for merging the changes again so promptly! I aimed to replicate the changes and test the endpoint accordingly. I also followed up on the CI failure, which helped me realize I needed to apply a similar fix to the CI script updates in another PR later on :) |
pierrejeambrun
commented
Nov 19, 2024
Restarting failed job, ready to merge when CI is green. |
related: #43846
safe_date_timeto returnNoneif the input isNoneNonein queries/endpointsI have created a separate PR because write permissions don't allow me to push to the existing PR.
cc: @bbovenzi@pierrejeambrun@tirkarthi
^ 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.rstor{issue_number}.significant.rst, in newsfragments.