object
This commit is contained in:
parent
e32da9d7fa
commit
75e8940a43
4 changed files with 8 additions and 8 deletions
|
@ -5,8 +5,8 @@ __version__ = "0.0.1"
|
|||
from os import linesep
|
||||
|
||||
|
||||
class Class:
|
||||
"""Root class."""
|
||||
class Object:
|
||||
"""Root object."""
|
||||
|
||||
def __repr__(self) -> str:
|
||||
"""Return machine-readable state.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
"""FreeTube artists."""
|
||||
|
||||
from rwx import Class
|
||||
from rwx import Object
|
||||
|
||||
|
||||
class Artist(Class):
|
||||
class Artist(Object):
|
||||
"""FreeTube artist."""
|
||||
|
||||
def __init__(self, uid: str, name:str) -> None:
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
"""FreeTube playlists."""
|
||||
|
||||
from rwx import Class
|
||||
from rwx import Object
|
||||
|
||||
from .videos import Video
|
||||
|
||||
|
||||
class Playlist(Class):
|
||||
class Playlist(Object):
|
||||
"""FreeTube playlist."""
|
||||
|
||||
def __init__(self, uid: str, name: str) -> None:
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
"""FreeTube profiles."""
|
||||
|
||||
from rwx import Class
|
||||
from rwx import Object
|
||||
|
||||
from .channels import Channel
|
||||
|
||||
|
||||
class Profile(Class):
|
||||
class Profile(Object):
|
||||
"""FreeTube profile."""
|
||||
|
||||
def __init__(self, uid: str, name: str) -> None:
|
||||
|
|
Loading…
Reference in a new issue