def episode(self, title=None, episode=None):
if not title and not episode:<EOL><INDENT>raise BadRequest('<STR_LIT>')<EOL><DEDENT>key = '<STR_LIT>' % self.ratingKey<EOL>if title:<EOL><INDENT>return self.fetchItem(key, title=title)<EOL><DEDENT>return self.fetchItem(key, seasonNumber=self.index, index=episode)<EOL>
Returns the episode with the given title or number.

            Parameters:
                title (str): Title of the episode to return.
                episode (int): Episode number (default:None; required if title not specified).