def set_watched_by_feed_offset(feed_unionid, offset, is_watched): story_unionid = StoryUnionId(*feed_unionid, offset) return UnionStory.set_watched_by_id(story_unionid, is_watched=is_watched)
def get_by_feed_offset(feed_unionid, offset, detail=False): story_unionid = StoryUnionId(*feed_unionid, offset) return UnionStory.get_by_id(story_unionid, detail=detail)
def id(self): story = self._user_story or self._story return StoryUnionId(self._user_id, story.feed_id, story.offset)
def id(self): return StoryUnionId(self._user_id, self._story.feed_id, self._story.offset)