Skip to content

Commit

Permalink
bugfix, release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
emilhe committed May 22, 2023
1 parent c452d71 commit 28863fd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.0.1] - 22-05-23

### Changed

- Fix of bug that caused `ServersideOutputTransform` not to be applied when return type was `tuple`

## [1.0.0] - 12-05-23

### Removed
Expand Down
2 changes: 2 additions & 0 deletions dash_extensions/enrich.py
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,8 @@ def decorated_function(*args, **kwargs):
data = self._try_dump(data)
if isinstance(data, list):
data = [self._try_dump(element) for element in data]
if isinstance(data, tuple):
data = tuple([self._try_dump(element) for element in data])
if isinstance(data, dict):
data = {key: self._try_dump(data[key]) for key in data}
return data
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash-extensions",
"version": "1.0.0",
"version": "1.0.1",
"description": "Extensions for Plotly Dash.",
"main": "build/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dash-extensions"
version = "1.0.0"
version = "1.0.1"
description = "Extensions for Plotly Dash."
authors = ["emher <emil.h.eriksen@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 28863fd

Please sign in to comment.