Fix misc typing bugs.

This commit is contained in:
nathom 2021-05-01 18:38:55 -07:00
parent a06336c48a
commit cfa6b35eb0
3 changed files with 18 additions and 7 deletions

View file

@ -656,6 +656,14 @@ class Video:
return False # so that it is not tagged
def tag(self, *args, **kwargs):
"""Dummy method.
:param args:
:param kwargs:
"""
return False
@classmethod
def from_album_meta(cls, track: dict, client: Client):
"""Given an video response dict from an album, return a new
@ -787,7 +795,7 @@ class Tracklist(list):
if self._download_item(item, **kwargs):
item.convert(**kwargs["conversion"])
def _download_item(item, **kwargs):
def _download_item(item, *args: Any, **kwargs: Any) -> bool:
"""Abstract method.
:param item: