Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion marshmallow_jsonapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .schema import Schema, SchemaOpts

__version__ = "0.24.0"
__version__ = "0.24.1"
__license__ = "MIT"
__all__ = ("Schema", "SchemaOpts")
4 changes: 0 additions & 4 deletions marshmallow_jsonapi/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,6 @@ def _serialize_included(self, value):
else:
result = self.schema.dump(value)

data = result

item = data["data"]
result = self.schema.dump(value)
item = result["data"]
self.root.included_data[(item["type"], item["id"])] = item
for key, value in self.schema.included_data.items():
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 = "marshmallow-jsonapi"
version = "0.24.0"
version = "0.24.1"
description = "marshmallow-jsonapi provides a simple way to produce JSON API-compliant data in any Python web framework."
authors = ["Your Name <you@example.com>"]
license = "MIT"
Expand Down