mirror of
https://github.com/nathom/streamrip.git
synced 2025-06-08 02:24:44 -04:00
Fix misc typing bugs.
This commit is contained in:
parent
a06336c48a
commit
cfa6b35eb0
3 changed files with 18 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue