Warning

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

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]

Initialize self. See help(type(self)) for accurate signature.

property sa_session

Returns a SQLAlchemy session

generate_statistics()[source]