liblineage.updater.v2.device

Classes

Device(name, model, oem, info_url, versions, ...)

LineageOS device informations.

class liblineage.updater.v2.device.Device(name: str, model: str, oem: str, info_url: str, versions: List[str], dependencies: List[str])

LineageOS device informations.

Attributes: - name (str): The name of the device - model (str): The model name of the device - oem (str): The OEM name - info_url (str): The URL of the device information page - versions (list[str]): The LineageOS versions for this device (e.g. 18.1) - dependencies (list[str]): The list of repositories used to build this device

classmethod from_json(json: Dict[str, Any])

Create an object from a JSON object.