l.r.i.k.IKarmaCache(Interface) : interface documentation

Part of lp.registry.interfaces.karma View In Hierarchy

A cached value of a person's karma, grouped by category and context.

Context, in this case, means the Product/Distribution on which the person
performed an action that in turn caused the karma to be assigned.

The karmavalue stored here is not a simple sum, it's calculated based on
the date the Karma was assigned. That's why we want to cache it here.
(See https://launchpad.canonical.com/KarmaCalculation for more information
 on how the value here is obtained)
Int person The person which performed the actions of this category, and thus got the karma.
Choice category Undocumented
Int karmavalue The karma points of all actions of this category performed by this person.
Attribute product Project
Attribute projectgroup Project Group
Attribute distribution Distribution
Attribute sourcepackagename Source Package
person =
The person which performed the actions of this category, and thus got the karma.
category =
Undocumented
karmavalue =
The karma points of all actions of this category performed by this person.
product =
Project
projectgroup =
Project Group
distribution =
Distribution
sourcepackagename =
Source Package
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.