From 502750732ce4a83f9d61b0730825c43d6f1f6eb2 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sat, 3 Jun 2023 22:06:56 +0200 Subject: [PATCH] fix(): Fixes tag returning list of image objects deserialized --- src/tags.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tags.py b/src/tags.py index fdcff44..20e6163 100644 --- a/src/tags.py +++ b/src/tags.py @@ -85,4 +85,6 @@ class Tag: """ Method to serialize tag object. """ - return self.__dict__ + tags = self.__dict__ + tags['images'] = self.images.serialize() + return tags