Skip to content

Commit

Permalink
feat!: referrer, year and subtitles parameters for media all now defa…
Browse files Browse the repository at this point in the history
…ult to ``None``. (breaking change)
  • Loading branch information
THEGOLDENPRO committed Mar 27, 2024
1 parent 1ab4195 commit 1428ff1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mov_cli/media/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def __init__(
self,
url: str,
title: str,
referrer: Optional[str],
episode: EpisodeSelector,
subtitles: Optional[dict]
referrer: Optional[str] = None,
subtitles: Optional[dict] = None
) -> None:
self.episode = episode
"""The episode and season of this series."""
Expand All @@ -57,9 +57,9 @@ def __init__(
self,
url: str,
title: str,
referrer: str,
year: Optional[str],
subtitles: Optional[dict]
referrer: Optional[str] = None,
year: Optional[str] = None,
subtitles: Optional[dict] = None
) -> None:
self.year = year
"""The year this film was released."""
Expand Down

0 comments on commit 1428ff1

Please sign in to comment.