This commit is contained in:
Marc Beninca 2024-10-24 12:11:32 +02:00
parent f7757d1fbf
commit b9856a5e32
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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