Skip to content

Commit

Permalink
Merge pull request #76 from eea/develop
Browse files Browse the repository at this point in the history
improvments
  • Loading branch information
avoinea authored Oct 30, 2024
2 parents af82a63 + 801864f commit fd490aa
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 289 deletions.
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

11.0 - (2024-10-24)
---------------------------
* Change: Refactor Visualisation serializers
[razvanMiu - refs #274326]

10.6 - (2024-10-21)
---------------------------
* Change: Add embed_content block serializer
Expand Down
8 changes: 4 additions & 4 deletions eea/api/dataconnector/api/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def reply(self):

return {
"visualization": {
**getMetadata(serializer=serializer),
**getMetadata(doc_json=serializer),
**getVisualization(
serializer=serializer,
doc_json=serializer,
layout=False
)
}
Expand All @@ -50,9 +50,9 @@ def reply(self):

return {
"visualization": {
**getMetadata(serializer=serializer),
**getMetadata(doc_json=serializer),
**getVisualization(
serializer=serializer
doc_json=serializer
)
}
}
Loading

0 comments on commit fd490aa

Please sign in to comment.