tool_shed.webapp.util package

Submodules

tool_shed.webapp.util.ratings_util module

class tool_shed.webapp.util.ratings_util.ItemRatings[source]

Bases: UsesItemRatings

Overrides rate_item method since we also allow for comments

rate_item(trans, user, item, rating, comment='')[source]

Rate an item. Return type is <item_class>RatingAssociation.

tool_shed.webapp.util.shed_statistics module

class tool_shed.webapp.util.shed_statistics.ShedCounter(model)[source]

Bases: object

__init__(model)[source]
generate_statistics(sa_session)[source]