Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore Str If BoolOpAnd NameLoad CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str CompareGt Call NameLoad NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq Call AttributeLoad NameLoad attr Str Num Assign NameStore ListComp SubscriptLoad NameLoad Slice Num comprehension NameStore NameLoad BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Str Num CompareGt Call NameLoad NameLoad Num If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr Str NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpMult AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Return TupleLoad ListLoad Num Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad Call AttributeLoad NameLoad attr Str attr BoolOpAnd AttributeLoad NameLoad attr BoolOpOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad Call AttributeLoad NameLoad attr Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str If CompareGt AttributeLoad NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Num AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Return NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad Call AttributeLoad NameLoad attr Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Return NameLoad orelse Return NameLoad decorator_list decorator_list
N/A flask g application.services.base_service BaseService google.appengine.api search application config N/A datetime N/A logging PostsService N/A BaseService N/A N/A 
    Board Service
     get_posts N/A N/A self keyword index N/A None 0 N/A N/A 
        Get posts with keyword.
        :param keyword: search keyword
        :param index: pager index
        :return: [post], total
         N/A query_string N/A N/A keyword N/A N/A len N/A N/A keyword strip 0 N/A N/A source N/A item N/A item N/A N/A keyword split N/A N/A len item 0 N/A plus N/A item N/A item source N/A N/A N/A item find - 0 N/A minus N/A N/A item N/A 1 N/A item source N/A N/A N/A N/A item find - 0 N/A N/A len item 1 N/A N/A N/A len plus 0 N/A N/A keyword N/A N/A join plus N/A query_string N/A N/A ((title:{1}) OR (content:{1})) replace {1} keyword N/A N/A N/A len minus 0 N/A N/A keyword N/A N/A join minus N/A query_string N/A N/A NOT ((title:{1}) OR (content:{1})) replace {1} keyword N/A create_time_desc N/A N/A search SortExpression expression create_time direction N/A N/A search SortExpression DESCENDING default_value 0 N/A options N/A N/A search QueryOptions offset N/A N/A config page_size index limit N/A config page_size sort_options N/A N/A search SortOptions expressions N/A create_time_desc returned_fields N/A title content author create_time N/A query N/A N/A search Query query_string options options N/A N/A N/A documents N/A N/A N/A N/A search Index name N/A config text_search_name search query N/A N/A N/A N/A N/A N/A 0 N/A result N/A N/A document documents N/A N/A N/A N/A result append N/A doc_id title content author deletable create_time N/A document doc_id N/A N/A N/A document field title value N/A N/A N/A document field content value N/A N/A N/A document field author value N/A N/A g user N/A N/A N/A N/A g user N/A email N/A N/A N/A document field author value N/A N/A g user N/A is_admin N/A N/A N/A N/A N/A document field create_time value strftime %Y-%m-%dT%H:%M:%S.%fZ N/A N/A N/A documents number_found N/A 1000 N/A config page_size N/A N/A count N/A 1000 N/A config page_size N/A N/A count N/A documents number_found N/A N/A result count N/A create_post N/A N/A self title content N/A N/A N/A 
        Create a post.
        :param title: post title
        :param content: post content
        :param author: author's email
        :return: True / False
         N/A N/A title None N/A N/A False N/A N/A content None N/A N/A False N/A title N/A N/A title strip N/A content N/A N/A content strip N/A N/A N/A len title 0 N/A N/A False N/A N/A N/A len content 0 N/A N/A False N/A N/A g user N/A N/A author N/A N/A g user N/A email N/A N/A author N/A index N/A N/A search Index name N/A config text_search_name N/A document N/A N/A search Document fields N/A N/A N/A search TextField name title value title N/A N/A search TextField name content value content N/A N/A search TextField name author value author N/A N/A search DateField name create_time value N/A N/A N/A datetime datetime now N/A N/A N/A index put document N/A True N/A delete_post N/A N/A self post_id N/A N/A N/A 
        Delete the post.
        :param post_id:
        :return: True / False
         N/A N/A N/A N/A g user None N/A post_id None N/A N/A False N/A index N/A N/A search Index name N/A config text_search_name N/A N/A N/A g user N/A is_admin N/A N/A N/A N/A index delete N/A post_id N/A True N/A document N/A N/A index get post_id N/A N/A N/A N/A N/A document field author value N/A N/A g user N/A email N/A N/A N/A N/A index delete N/A post_id N/A True N/A N/A False N/A N/A