rating property

rating property

Gets or sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”.

Definition:

@property
def rating(self):
    ...
@rating.setter
def rating(self, value):
    ...

See Also