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

Retrieve fallback schedules #131

Open
Flix6x opened this issue Oct 11, 2023 · 0 comments
Open

Retrieve fallback schedules #131

Flix6x opened this issue Oct 11, 2023 · 0 comments

Comments

@Flix6x
Copy link
Contributor

Flix6x commented Oct 11, 2023

FlexMeasures 0.17 will introduce a new way to handle fallback schedules. A separate fallback job will be triggered upon failure of the main scheduling job (whereas before the fallback schedule was computed within the same job, which is a less atomic transaction that complicated debugging).

When the FlexMeasures host upgrades to run flexmeasures>=0.17 the API will return a status code 303 when requesting an originally failed schedule, with the location of the fallback schedule as a response header. This behavior requires a backwards compatible update in the flexmeasures_client.py, by handling the 303 status code and implementing a follow-up action to retrieve the fallback schedule . Relevant documentation will be made available, see FlexMeasures/flexmeasures#858.

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

No branches or pull requests

1 participant