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

Fix issue #1092 for deleting measurements, as well #1303

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

nhoening
Copy link
Contributor

@nhoening nhoening commented Jan 3, 2025

Description

Running flexmeasures delete measurements was broken, also and that was left out of #1095. That only handled deleting forecasts.

See #1092

How to test

Run the command on some beliefs you can live without.

Signed-off-by: Nicolas Höning <[email protected]>
@nhoening nhoening merged commit bf6ff0d into main Jan 3, 2025
10 checks passed
@nhoening nhoening deleted the fix-issue-1092-part2 branch January 3, 2025 12:18
@Flix6x Flix6x added this to the 0.24.0 milestone Jan 3, 2025
@Flix6x Flix6x added bug Something isn't working CLI labels Jan 3, 2025
@@ -38,6 +38,8 @@ Infrastructure / Support
Bugfixes
-----------
* Fix table sorting on the assets, accounts and users page (regression from `PR #988 <https://github.com/FlexMeasures/flexmeasures/pull/988>`_) [see `PR #1239 <https://github.com/FlexMeasures/flexmeasures/pull/1239>`_, `PR #1242 <https://github.com/FlexMeasures/flexmeasures/pull/1242>`_, `PR #1248 <https://github.com/FlexMeasures/flexmeasures/pull/1248>`_, `PR #1247 <https://github.com/FlexMeasures/flexmeasures/pull/1247>`_ and `PR #1272 <https://github.com/FlexMeasures/flexmeasures/pull/1272>`_]
* Fix `flexmeasures delete measurements` and `flexmeasures delete prognoses` which had an error in counting affected rows after SQLAlchemy2.0 upgrade [see `PR #1095 <https://github.com/FlexMeasures/flexmeasures/pull/1095>`_ and `PR #1303 <https://github.com/FlexMeasures/flexmeasures/pull/1303>`_]
Copy link
Contributor

Choose a reason for hiding this comment

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

Non-urgent friendly reminder: rst syntax uses double slanted quotes.

Flix6x pushed a commit that referenced this pull request Jan 17, 2025
* Fix issue #1092 for deleting measurements, as well (1095 handled prognoses/forecasts)

Signed-off-by: Nicolas Höning <[email protected]>

* add changelog entry

Signed-off-by: Nicolas Höning <[email protected]>

---------

Signed-off-by: Nicolas Höning <[email protected]>

(cherry picked from commit bf6ff0d)
Signed-off-by: F.N. Claessen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants