Skip to content

Commit

Permalink
style: pylint format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydawka committed Oct 20, 2023
1 parent 2c33730 commit 5d3fc11
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions model/dataset_metadata/dataset_related_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ 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
Expand Down

0 comments on commit 5d3fc11

Please sign in to comment.