Skip to content

Conversation

@glensc
Copy link
Contributor

@glensc glensc commented Jan 15, 2022

Extracted from #176 as the changes are breaking changes.

This will make only one trakt.tv API request to create list of TVSeason with TVEpisode objects.

The properties are indexed in a dict by .number rather being a list:

    show = TVShow('Game of Thrones')

    seasons = show.seasons
    assert len(seasons) == 9
    assert seasons[1].episodes[1].title == 'Winter Is Coming'

@glensc glensc changed the title [4.0.0]: Refactor: Index seasons and shows by ther number [4.0.0]: Refactor: Index seasons and shows by their number Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant