Module FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpOr NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad BoolOpAnd SubscriptLoad NameLoad Index Str CompareIn NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str For NameStore NameLoad body Assign NameStore CompareIn NameLoad NameLoad Assign NameStore CompareIn NameLoad NameLoad If CompareEq NameLoad NameLoad body Continue orelse If NameLoad body Return Num orelse Return Num Return Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list
N/A authorized_to_manage_request N/A N/A _ request current_user pushmaster N/A False N/A N/A N/A pushmaster N/A N/A request N/A user current_user N/A N/A request N/A watchers N/A current_user N/A N/A N/A request N/A watchers split , N/A N/A True N/A False N/A sort_pickmes N/A N/A _ requests tags_order N/A N/A N/A Sort pickmes based on tags_order

    Args:
    -          - request handler object
    requests   - a list of requests
    tags_order - order to sort requests

    Return: sorted requests list
     compare_requests N/A N/A request1 request2 N/A N/A N/A tags1_list N/A N/A N/A request1 N/A tags split , N/A tags2_list N/A N/A N/A request2 N/A tags split , N/A tag tags_order N/A N/A tag_in_tags1 N/A tag tags1_list N/A tag_in_tags2 N/A tag tags2_list N/A N/A tag_in_tags1 tag_in_tags2 N/A N/A N/A N/A tag_in_tags1 N/A N/A -1 N/A N/A 1 N/A N/A cmp N/A request1 N/A user N/A request2 N/A user N/A N/A sorted_requests N/A sorted requests cmp compare_requests N/A sorted_requests N/A