Module ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad BinOpAdd BinOpAdd Str NameLoad Str BinOpAdd BinOpAdd Str NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareNotEq NameLoad Num body Assign NameStore IfExp CompareEq NameLoad Str Str Str If NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad CompareEq NameLoad Num body AugAssignAdd NameStore Str If NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Str If NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Str If NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str AugAssignAdd NameStore ListLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Assign NameStore Str If BoolOpAnd UnaryOpNot NameLoad BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad NameLoad If BoolOpOr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad NameLoad decorator_list
N/A autumn.db.query Query search N/A N/A profile query begin page_size N/A N/A N/A N/A N/A Query sql SELECT *,
      (( length(title + view)
           - length(replace(title + view, %s, '')) )
           / length(%s) )
           /(length(title + view) + 1
           - length(replace(title + view, ' ', '')) )
           as ratio_of_keyword_occurence_to_other_words
         FROM `content`
         WHERE `username` = %s
           AND hidden = 0
           AND (`title` REGEXP %s
           OR  `view` REGEXP %s)
           ORDER BY ratio_of_keyword_occurence_to_other_words DESC
           LIMIT %s, %s N/A query query profile N/A N/A [[:<:]] query [[:>:]] N/A N/A [[:<:]] query [[:>:]] begin page_size N/A dashboard_feed N/A N/A profile begin page_size sort_type read_all_mode specific_feed just_local_feed local_entry remote_entry spam favorite comments external query from_local_date from_remote_date N/A None None False False False None None None None N/A N/A content_local_restrict N/A content_remote_restrict N/A parameters N/A profile profile N/A just_remote_feed False N/A sort_query DESC N/A N/A sort_type oldest N/A N/A sort_query ASC N/A specific_feed N/A N/A content_remote_restrict  AND `from_user` = %s  N/A N/A N/A parameters append specific_feed N/A local_entry N/A N/A content_local_restrict  AND `id` = %s  N/A N/A N/A parameters append local_entry N/A remote_entry N/A N/A content_remote_restrict  AND `id` = %s  N/A N/A N/A parameters append remote_entry N/A N/A N/A begin 0 N/A N/A comparison N/A N/A sort_type oldest >= <= N/A from_local_date N/A N/A content_local_restrict N/A N/A  AND `date_created`  comparison  %s  N/A N/A N/A parameters append from_local_date N/A from_remote_date N/A N/A content_remote_restrict N/A N/A  AND `date_created`  comparison  %s  N/A N/A N/A parameters append from_remote_date N/A N/A N/A N/A spam N/A favorite N/A comments N/A query N/A read_all_mode 0 N/A N/A content_remote_restrict  AND `read` = 0  N/A spam N/A N/A just_remote_feed True N/A content_remote_restrict  AND `is_spam` = 1  N/A favorite N/A N/A just_remote_feed True N/A content_remote_restrict  AND `favorited` = 1  N/A external N/A N/A just_remote_feed True N/A content_remote_restrict  AND `type` = %s  N/A N/A N/A parameters append external N/A comments N/A N/A just_remote_feed True N/A content_remote_restrict  AND `type` = %s  N/A N/A N/A parameters append comment N/A N/A N/A N/A just_local_feed N/A local_entry N/A remote_entry N/A external N/A favorite N/A spam N/A comments N/A query N/A N/A content_remote_restrict  AND `type` = %s  N/A N/A N/A parameters append post N/A query N/A N/A just_remote_feed True N/A content_remote_restrict  AND (`title` LIKE %s or `view` LIKE %s) N/A N/A N/A parameters append N/A N/A % query % N/A N/A N/A parameters append N/A N/A % query % N/A parameters N/A begin page_size N/A local_query N/A N/A N/A N/A 
         (SELECT `id`, `username`, `title`, `view`, `date_created`,
          `favorited`, `is_spam`, `deleted`,
          `count`, `count_robot`, `date_updated`, `hidden`, `date_start`,
          `date_end`, `date_repeats`, `section`, `album`, `name`, `thumb`,
          `thread`,
          '' as `to_username`, '' as `creator`, '' as `type`,
          '' as `from_user`, '' as `post_id`, '' as `link`, 0 as `read`,
          `comments_count`, '' as `avatar`
          FROM `content`
          WHERE `username` = %s  content_local_restrict  AND `redirect` = 0
             AND `section` != 'comments'
          ORDER BY date_created  sort_query ) N/A remote_query N/A N/A N/A N/A N/A 
          (SELECT `id`, `username`, `title`, `view`, `date_created`,
           `favorited`, `is_spam`, `deleted`,
           0 as `count`, 0 as `count_robot`, `date_updated`, 0 as `hidden`,
           now() as `date_start`, now() as `date_end`, 0 as `date_repeats`,
           '' as `section`, '' as `album`, '' as `name`, '' as `thumb`,
           '' as `thread`,
           `to_username`, `creator`, `type`, `from_user`, `post_id`, `link`,
           `read`, `comments_count`, `avatar`
           FROM `content_remote`
           WHERE `to_username` = %s  content_remote_restrict  AND `is_spam` = 0
             AND `deleted` = 0
           ORDER BY date_created  sort_query )
           ORDER BY date_created  sort_query N/A limit_fragment  LIMIT %s, %s  N/A N/A N/A just_remote_feed N/A just_local_feed local_entry N/A N/A N/A N/A parameters pop 0 N/A N/A N/A Query sql N/A local_query limit_fragment parameters N/A N/A just_remote_feed specific_feed remote_entry N/A N/A N/A N/A parameters pop 0 N/A N/A N/A Query sql N/A remote_query limit_fragment parameters N/A N/A N/A Query sql N/A N/A N/A local_query  UNION  remote_query limit_fragment parameters N/A