Skip to content

Commit

Permalink
Merge pull request #16 from mrmap-community/hotfix/attributeerror-tra…
Browse files Browse the repository at this point in the history
…nsformtomodel

Update CHANGELOG.rst, __init__.py, and mixins.py
  • Loading branch information
jokiefer authored Sep 14, 2023
2 parents 52a6ed8 + 9b0fac0 commit 7c5fe39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[v0.5.1] - 2023-09-14
---------------------

Fixed
~~~~~

* remove `super().transform_to_model()` at `OperationUrl` object


[v0.5.0] - 2023-09-14
Expand Down
2 changes: 1 addition & 1 deletion ows_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.5.0"
__version__ = "0.5.1"
VERSION = __version__ # synonym
2 changes: 1 addition & 1 deletion ows_lib/xml_mapper/capabilities/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def mime_types(self, value: List[str]):
self._callback(self)

def transform_to_model(self) -> Dict:
attr = super().transform_to_model()
attr = {}
if self.operation:
attr.update({"operation": self.operation})
if self.url:
Expand Down

0 comments on commit 7c5fe39

Please sign in to comment.