pytenno.models.rivens
- class pytenno.models.rivens.PartialRivenAttribute(positive: bool, value: int, url_name: str)[source]
Represents a partial riven attribute.
- class pytenno.models.rivens.RivenAttribute(*, id: str, url_name: str, group: RivenAttributeGroup, prefix: str = '', suffix: str = '', positive_is_negative: bool, exclusive_to: Optional[list[pytenno.models.enums.RivenWeaponType]] = None, effect: str, units: Optional[MeasurementUnit] = None, negative_only: bool, search_only: bool)[source]
Represents a riven attribute. Most rivens have multiple attributes.
- exclusive_to: list[pytenno.models.enums.RivenWeaponType] | None = None
The types of weapons that the attribute is exclusive to. Default is None, meaning it is not exclusive to any weapon.
- group: RivenAttributeGroup
The group of the riven attribute.
- units: pytenno.models.enums.MeasurementUnit | None = None
The units of the riven attribute. Default is None, meaning it is not measured in any units.
- class pytenno.models.rivens.RivenItem(id: str, item_name: str, url_name: str, group: RivenWeaponGroup, riven_type: RivenWeaponType, icon: str, icon_format: IconFormat, thumb: str)[source]
Represents a riven item.
- group: RivenWeaponGroup
The group of the riven item.
- icon_format: IconFormat
The format of the icon URL of the riven item.
- riven_type: RivenWeaponType
The type of the riven item.