Response๏ƒ

Inheritance diagram of musify.libraries.remote.core.response

Just the core abstract class for the Remote module. Placed here separately to avoid circular import logic issues.

Classes:

RemoteResponse()

class musify.libraries.remote.core.response.RemoteResponse๏ƒ

Bases: MusifyObject, ABC

Attributes:

response

The API response for this object

id

The ID of this item/collection.

kind

The type of remote object this class represents

Methods:

refresh([skip_checks])

Refresh this object by updating from the stored API response.

abstract property response: dict[str, Any]๏ƒ

The API response for this object

abstract property id: str๏ƒ

The ID of this item/collection.

abstract property kind: RemoteObjectType๏ƒ

The type of remote object this class represents

abstract refresh(skip_checks=False)๏ƒ

Refresh this object by updating from the stored API response. Useful for updating stored variables after making changes to the stored API response manually.

Return type:

None