Skip to content

Commit

Permalink
fix: forwarding arguments in deprecated util function (#719)
Browse files Browse the repository at this point in the history
* fix: flush parameter accidentally applied as version parameter

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: Prepare changelogs for v0.13.2

Signed-off-by: F.N. Claessen <felix@seita.nl>

---------

Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Jun 10, 2023
1 parent 93de6c5 commit 773e8f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions documentation/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ Infrastructure / Support
.. warning:: The setting `FLEXMEASURES_PLUGIN_PATHS` has been deprecated since v0.7. It has now been sunset. Please replace it with :ref:`plugin-config`.


v0.13.3 | June 10, 2023
=======================

Bugfixes
---------
* Fix forwarding arguments in deprecated util function [see `PR #719 <https://github.com/FlexMeasures/flexmeasures/pull/719>`_]


v0.13.2 | June 9, 2023
=======================

Expand Down
2 changes: 1 addition & 1 deletion flexmeasures/data/queries/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_or_create_source(
model: str | None = None,
flush: bool = True,
) -> DataSource:
return get_or_create_source_new(source, source_type, model, flush)
return get_or_create_source_new(source, source_type, model, flush=flush)


@deprecated(get_source_or_none_new, "0.14")
Expand Down

0 comments on commit 773e8f0

Please sign in to comment.