Skip to content

Commit

Permalink
0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Jul 7, 2024
1 parent f47e9c4 commit 1fa7328
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### [0.4.0] - 2024-07-07

* Collapse `MaybeMultifunctionalProcess` and `MultifunctionalProcess`
* Suppress logs to STDOUT by default

## [0.3.0] - 2024-07-06

* Rewrite allocation functionality to allow for allocation before writing the database
Expand Down
2 changes: 1 addition & 1 deletion multifunctional/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"generic_allocation",
)

__version__ = "0.3"
__version__ = "0.4"

# Follows guidance from https://loguru.readthedocs.io/en/stable/resources/recipes.html#configuring-loguru-to-be-used-by-a-library-or-an-application
# For development or to get more detail on what is really happening, re-enable with:
Expand Down
5 changes: 4 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ def test_label_multifunctional_nodes():
expected = {
1: {"exchanges": [{"functional": True}, {"functional": False}]},
2: {},
3: {"exchanges": [{"functional": True}, {"functional": True}, {}], "type": "multifunctional"},
3: {
"exchanges": [{"functional": True}, {"functional": True}, {}],
"type": "multifunctional",
},
}
assert label_multifunctional_nodes(given) == expected

0 comments on commit 1fa7328

Please sign in to comment.