Module ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str keyword BinOpSub NameLoad Num keyword NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str keyword BinOpAdd NameLoad Num keyword NameLoad Return Call NameLoad Dict Str Str Str Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad Call NameLoad Call AttributeLoad NameLoad attr Num Dict Str Call NameLoad Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Call NameLoad AttributeLoad NameLoad attr
N/A flask jsonify request g abort url_for current_app N/A db models Post Permission N/A api decorators permission_required errors forbidden get_posts N/A N/A N/A N/A N/A page N/A N/A N/A request args get page 1 type int N/A pagination N/A N/A N/A Post query paginate page per_page N/A N/A current_app config N/A FLASKY_POSTS_PER_PAGE error_out False N/A posts N/A pagination items N/A prev None N/A N/A pagination has_prev N/A N/A prev N/A url_for api.get_posts page N/A page 1 _external True N/A next None N/A N/A pagination has_next N/A N/A next N/A url_for api.get_posts page N/A page 1 _external True N/A N/A jsonify N/A posts prev next count N/A N/A N/A post to_json N/A post posts prev next N/A pagination total N/A N/A N/A api route /posts/ get_post N/A N/A id N/A N/A N/A post N/A N/A N/A Post query get_or_404 id N/A N/A jsonify N/A N/A post to_json N/A N/A N/A api route /posts/<int:id> new_post N/A N/A N/A N/A N/A post N/A N/A Post from_json N/A request json N/A N/A post author N/A g current_user N/A N/A N/A N/A db session add post N/A N/A N/A N/A db session commit N/A N/A N/A jsonify N/A N/A post to_json 201 N/A Location N/A url_for api.get_post id N/A post id _external True N/A N/A N/A api route /posts/ methods N/A POST N/A permission_required N/A Permission WRITE_ARTICLES edit_post N/A N/A id N/A N/A N/A post N/A N/A N/A Post query get_or_404 id N/A N/A N/A N/A g current_user N/A post author N/A N/A N/A N/A g current_user can N/A Permission ADMINISTER N/A N/A N/A forbidden Insufficient permissions N/A N/A post body N/A N/A N/A request json get body N/A post body N/A N/A N/A N/A db session add post N/A N/A jsonify N/A N/A post to_json N/A N/A N/A api route /posts/<int:id> methods N/A PUT N/A permission_required N/A Permission WRITE_ARTICLES