This commit is contained in:
Marc Beninca 2024-10-22 18:29:24 +02:00
parent e32da9d7fa
commit 75e8940a43
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
4 changed files with 8 additions and 8 deletions

View file

@ -5,8 +5,8 @@ __version__ = "0.0.1"
from os import linesep from os import linesep
class Class: class Object:
"""Root class.""" """Root object."""
def __repr__(self) -> str: def __repr__(self) -> str:
"""Return machine-readable state. """Return machine-readable state.

View file

@ -1,9 +1,9 @@
"""FreeTube artists.""" """FreeTube artists."""
from rwx import Class from rwx import Object
class Artist(Class): class Artist(Object):
"""FreeTube artist.""" """FreeTube artist."""
def __init__(self, uid: str, name:str) -> None: def __init__(self, uid: str, name:str) -> None:

View file

@ -1,11 +1,11 @@
"""FreeTube playlists.""" """FreeTube playlists."""
from rwx import Class from rwx import Object
from .videos import Video from .videos import Video
class Playlist(Class): class Playlist(Object):
"""FreeTube playlist.""" """FreeTube playlist."""
def __init__(self, uid: str, name: str) -> None: def __init__(self, uid: str, name: str) -> None:

View file

@ -1,11 +1,11 @@
"""FreeTube profiles.""" """FreeTube profiles."""
from rwx import Class from rwx import Object
from .channels import Channel from .channels import Channel
class Profile(Class): class Profile(Object):
"""FreeTube profile.""" """FreeTube profile."""
def __init__(self, uid: str, name: str) -> None: def __init__(self, uid: str, name: str) -> None: