Skip to content

Model

Model(subsonic)

Generic parent class for all the models. Have an internal attribute to hold a Subsonic object to access the OpenSubsonic REST API.

Source code in .venv/lib/python3.11/site-packages/knuckles/models/_model.py
def __init__(self, subsonic: "Subsonic") -> None:
    self._subsonic = subsonic