[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a82eb3c3d2
commit
c5ff086b59
|
@ -31,8 +31,8 @@ import shelve
|
||||||
import ssl
|
import ssl
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
from typing import Optional
|
|
||||||
import xml.dom
|
import xml.dom
|
||||||
|
from typing import Optional
|
||||||
from urllib.parse import quote_plus
|
from urllib.parse import quote_plus
|
||||||
from xml.dom import Node, minidom
|
from xml.dom import Node, minidom
|
||||||
|
|
||||||
|
@ -533,13 +533,13 @@ class _Network:
|
||||||
artist: str,
|
artist: str,
|
||||||
title: str,
|
title: str,
|
||||||
timestamp: int,
|
timestamp: int,
|
||||||
album: Optional[str] = None,
|
album: str | None = None,
|
||||||
album_artist: Optional[str] = None,
|
album_artist: str | None = None,
|
||||||
track_number: Optional[int] = None,
|
track_number: int | None = None,
|
||||||
duration: Optional[int] = None,
|
duration: int | None = None,
|
||||||
stream_id: Optional[str] = None,
|
stream_id: str | None = None,
|
||||||
context: Optional[str] = None,
|
context: str | None = None,
|
||||||
mbid: Optional[str] = None,
|
mbid: str | None = None,
|
||||||
):
|
):
|
||||||
"""Used to add a track-play to a user's profile.
|
"""Used to add a track-play to a user's profile.
|
||||||
|
|
||||||
|
@ -2296,8 +2296,8 @@ class User(_Chartable):
|
||||||
self,
|
self,
|
||||||
limit: int = 10,
|
limit: int = 10,
|
||||||
cacheable: bool = True,
|
cacheable: bool = True,
|
||||||
time_from: Optional[int] = None,
|
time_from: int | None = None,
|
||||||
time_to: Optional[int] = None,
|
time_to: int | None = None,
|
||||||
stream: bool = False,
|
stream: bool = False,
|
||||||
now_playing: bool = False,
|
now_playing: bool = False,
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue