This document is for an in-development version 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


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

property sa_session

Returns a SQLAlchemy session