From e32da9d7fa8717e9fb5561e73f744f9c15ac54d5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 22 Oct 2024 18:24:17 +0200 Subject: [PATCH] ft/artist --- rwx/sw/freetube/artists.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rwx/sw/freetube/artists.py diff --git a/rwx/sw/freetube/artists.py b/rwx/sw/freetube/artists.py new file mode 100644 index 0000000..8100fba --- /dev/null +++ b/rwx/sw/freetube/artists.py @@ -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