Module Expr Str Import alias identifier ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias Assign NameStore Call NameLoad Str NameLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Expr Str Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad For NameStore AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad If BoolOpOr UnaryOpNot NameLoad CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr NameLoad attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str NameLoad
N/A N/A 
    polaris.views.profile
    ~~~~~~~~~~~~~~~~~~~~~~~

    :copyright: (c) 2013 Eleme, http://polaris.eleme.io
    :license: MIT

    Polaris profile based explore.
 N/A http.client http flask session Blueprint abort current_app render_template flask_login current_user login_required polaris.models db User Chart Dashboard Group GroupMember polaris.auth.principal can_view_chart can_view_dashboard N/A profile N/A Blueprint profile __name__ dashboard_library N/A N/A username N/A None N/A N/A Return user dashboard library page.
     N/A N/A N/A username None N/A username N/A current_user username N/A N/A user current_user N/A N/A user N/A N/A N/A N/A N/A N/A N/A db session query User filter N/A N/A User username username first N/A N/A user N/A N/A N/A abort N/A http NOT_FOUND N/A N/A N/A session pop N/A current_user username None N/A N/A render_template library.jinja name N/A user username N/A N/A N/A profile route /<string:username> login_required explore N/A N/A N/A N/A N/A N/A N/A session pop N/A current_user username None N/A N/A render_template library.jinja name explore N/A N/A N/A profile route /explore login_required new_group N/A N/A N/A N/A N/A Create a new group
     N/A N/A render_template group_new.jinja N/A N/A N/A profile route /group/new login_required group_library N/A N/A group_id N/A N/A N/A Return group library page.
     N/A group N/A N/A N/A N/A N/A N/A N/A db session query Group filter N/A N/A Group id group_id first N/A N/A group N/A N/A N/A abort N/A http NOT_FOUND N/A N/A group is_group_member N/A N/A group is_member current_user N/A N/A group is_admin_member N/A N/A group is_admin current_user N/A N/A session N/A N/A current_user username N/A name id admin N/A group name N/A str N/A group id N/A group is_admin_member N/A N/A render_template group_library.jinja group group N/A N/A N/A profile route /group/<string:group_id> login_required user_settings N/A N/A N/A N/A N/A N/A render_template user_settings.jinja N/A N/A N/A profile route /settings login_required group_settings N/A N/A group_id N/A N/A N/A group N/A N/A N/A N/A N/A N/A N/A db session query Group filter N/A N/A Group id group_id first N/A N/A group N/A N/A N/A abort N/A http NOT_FOUND N/A group_member N/A N/A N/A N/A N/A N/A N/A N/A N/A db session query GroupMember filter N/A N/A GroupMember group_id N/A group id filter N/A N/A GroupMember user_id N/A current_user id first N/A N/A N/A group_member N/A N/A group_member is_admin N/A N/A N/A abort N/A http NOT_FOUND N/A N/A admins members N/A N/A N/A N/A m N/A group members N/A N/A N/A m is_admin N/A N/A N/A N/A admins append N/A N/A m user username N/A N/A N/A N/A members append N/A N/A m user username N/A group_info N/A id user name N/A str N/A group id N/A str N/A current_user id N/A group name N/A N/A group is_admin_member True N/A N/A render_template group_settings.jinja admins admins members members group_info group_info group group N/A N/A N/A profile route /group/settings/<string:group_id> login_required chart_view N/A N/A username uuid N/A N/A N/A Return dashboard view.
     N/A chart N/A N/A N/A N/A N/A db session query Chart get uuid N/A N/A N/A chart N/A N/A N/A chart user username username N/A N/A can_view_chart uuid N/A N/A N/A abort N/A http NOT_FOUND N/A N/A render_template chart_view.jinja mapbox_id N/A N/A current_app config N/A MAPBOX_ID map_type N/A N/A current_app config N/A MAP_TYPE user current_user chart chart N/A N/A N/A profile route /<string:username>/chart/<string:uuid> login_required dashboard_view N/A N/A username slug N/A N/A N/A Return dashboard view.
     N/A user N/A N/A N/A N/A N/A N/A N/A db session query User filter N/A N/A User username username first N/A N/A user N/A N/A N/A abort N/A http NOT_FOUND N/A dashboard N/A N/A N/A N/A N/A N/A N/A N/A N/A db session query Dashboard filter N/A N/A Dashboard user_id N/A user id filter N/A N/A Dashboard slug slug first N/A N/A N/A dashboard N/A N/A can_view_dashboard N/A dashboard id N/A N/A N/A abort N/A http NOT_FOUND N/A N/A render_template dashboard_view.jinja mapbox_id N/A N/A current_app config N/A MAPBOX_ID map_type N/A N/A current_app config N/A MAP_TYPE user current_user uuid N/A dashboard id N/A N/A N/A profile route /<string:username>/<string:slug> login_required