ft/artist
This commit is contained in:
parent
9835028199
commit
e32da9d7fa
1 changed files with 18 additions and 0 deletions
18
rwx/sw/freetube/artists.py
Normal file
18
rwx/sw/freetube/artists.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
"""FreeTube artists."""
|
||||||
|
|
||||||
|
from rwx import Class
|
||||||
|
|
||||||
|
|
||||||
|
class Artist(Class):
|
||||||
|
"""FreeTube artist."""
|
||||||
|
|
||||||
|
def __init__(self, uid: str, name:str) -> None:
|
||||||
|
"""Set uid & name.
|
||||||
|
|
||||||
|
:param uid: identifier
|
||||||
|
:type uid: str
|
||||||
|
:param name: label
|
||||||
|
:type name: str
|
||||||
|
"""
|
||||||
|
self.uid = uid
|
||||||
|
self.name = name
|
Loading…
Reference in a new issue