Skip to content

Commit

Permalink
Merge pull request #83 from OpenEnergyPlatform/release/v0.1.1
Browse files Browse the repository at this point in the history
Release/v0.1.1
  • Loading branch information
jh-RLI authored Nov 29, 2022
2 parents f737453 + 12465bd commit 4e61adb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog

current (2022-XX-XX)
--------------------

0.1.1 (2022-11-29)
--------------------
* update parser for v15 to handle former v13 key names, also update outdated License (data-)class in oem_v15 structure. (PR#77)
* change the validation to return a report and enable report file creation option to the arguments of validation method. (PR#81)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def read(*names, **kwargs):

setup(
name="omi",
version="0.1.0",
version="0.1.1",
license="AGPL-3.0",
description="A library to process and translate open energy metadata.",
long_description="%s\n%s"
Expand Down
4 changes: 2 additions & 2 deletions src/omi/dialects/oep/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def parse_date_or_none(x, *args, **kwargs):


def create_report_json(
error_data: list[dict],
error_data, # type list[dict]
save_at: pathlib.Path = "reports/",
filename: str = "report.json",
):
Expand Down Expand Up @@ -795,7 +795,7 @@ def parse_from_string(
)

def get_any_value_not_none(
self, element: dict, keys: list[str], get_return_default=None
self, element: dict, keys, get_return_default=None #keys: list[str] - reove as not support by py3.8
):
"""
Get the value for a key in a dict - but try multiple key names, in
Expand Down

0 comments on commit 4e61adb

Please sign in to comment.