From b9856a5e326085f80ef639da7844409a4ae4309f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 24 Oct 2024 12:11:32 +0200 Subject: [PATCH] language --- rwx/sw/freetube/languages.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rwx/sw/freetube/languages.py diff --git a/rwx/sw/freetube/languages.py b/rwx/sw/freetube/languages.py new file mode 100644 index 0000000..42f1e75 --- /dev/null +++ b/rwx/sw/freetube/languages.py @@ -0,0 +1,18 @@ +"""FreeTube languages.""" + +from rwx import Object + + +class Language(Object): + """FreeTube language.""" + + 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