From a73e643d7cad4d54d5e0b813eeb0f58e33648b00 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Fri, 20 Oct 2023 17:19:05 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20fix=20code=20style=20is?= =?UTF-8?q?sues=20with=20Black?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/dataset_metadata/dataset_related_item.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/model/dataset_metadata/dataset_related_item.py b/model/dataset_metadata/dataset_related_item.py index 15d1a904..f741bdc7 100644 --- a/model/dataset_metadata/dataset_related_item.py +++ b/model/dataset_metadata/dataset_related_item.py @@ -58,13 +58,14 @@ def to_dict(self): "type": self.type, "relation_type": self.relation_type, "created_at": self.created_at, - "titles": [i.to_dict() for - i in self.dataset_related_item_title], # type: ignore + "titles": [ + i.to_dict() for i in self.dataset_related_item_title + ], # type: ignore "creators": [c.to_dict() for c in creators], - "contributors": [c.to_dict() - for c in contributors], - "identifiers": [i.to_dict() for - i in self.dataset_related_item_identifier], # type: ignore + "contributors": [c.to_dict() for c in contributors], + "identifiers": [ + i.to_dict() for i in self.dataset_related_item_identifier + ], # type: ignore } @staticmethod