'Identify shared visualizations'

def _get_shared(self, trans):

    shared_by_others = trans.sa_session.query(model.VisualizationUserShareAssociation).filter_by(user=trans.get_user()).join(model.Visualization.table).filter((model.Visualization.deleted == false())).order_by(desc(model.Visualization.update_time)).all()
    return [{'username': v.visualization.user.username, 'slug': v.visualization.slug, 'title': v.visualization.title} for v in shared_by_others]
