tool_shed.webapp.util package

Submodules

tool_shed.webapp.util.ratings_util module

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

Bases: galaxy.model.item_attrs.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]
sa_session

Returns a SQLAlchemy session

generate_statistics()[source]