Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

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]
property sa_session

Returns a SQLAlchemy session

generate_statistics()[source]