language
This commit is contained in:
parent
f7757d1fbf
commit
b9856a5e32
1 changed files with 18 additions and 0 deletions
18
rwx/sw/freetube/languages.py
Normal file
18
rwx/sw/freetube/languages.py
Normal 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
|
Loading…
Reference in a new issue