Skip to content

Commit

Permalink
Removed unusued method
Browse files Browse the repository at this point in the history
  • Loading branch information
RishiDiwanTT committed Aug 21, 2023
1 parent 8a92bad commit c0b54eb
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions core/feed_protocol/serializer/opds2.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,3 @@ def _serialize_link(self, link: Link):
if link.type:
serialized["type"] = link.type
return serialized

# def _serialize_feed_entry(self, feed_entry: FeedEntryType) -> dict:
# metadata = {}
# links = []
# images = []

# for attrib, value in feed_entry:
# if isinstance(value, list):
# for item in value:
# metadata[attrib] = self._serialize_feed_entry(item)
# elif isinstance(value, FeedEntryType):
# metadata[attrib] = self._serialize_feed_entry(value)
# else:
# metadata[attrib] = value
# print(attrib, value, metadata)

# return metadata

0 comments on commit c0b54eb

Please sign in to comment.