Module ImportFrom alias alias ImportFrom alias alias Import alias ImportFrom alias alias alias Import alias FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Yield Dict Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Return Dict Str Call NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body ClassDef bases NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list Return Dict Str Str NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Dict Str Str Dict Str Str ListLoad Dict Str Str Dict Str Num Dict Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assert CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assert CompareEq NameLoad ListLoad Dict Str Str Str Dict Str Str Dict Str Str Str Dict Str Str Dict Str Str Str Dict Str Str Dict Str Str Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Dict Str Str Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Dict Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Dict Str Str Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Dict Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareNotIn Str Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A flask_resty Api GenericModelView marshmallow fields Schema N/A pytest sqlalchemy Column Integer String N/A helpers models N/A N/A db N/A N/A Widget N/A N/A db Model N/A N/A __tablename__ widgets N/A id N/A Column Integer primary_key True N/A name N/A Column String nullable False unique True N/A N/A N/A N/A db create_all N/A N/A N/A widget Widget N/A N/A N/A db drop_all N/A N/A pytest yield_fixture schemas N/A N/A N/A N/A NestedSchema N/A Schema N/A N/A value N/A N/A fields Integer N/A WidgetSchema N/A Schema N/A N/A id N/A N/A fields Integer as_string True N/A name N/A N/A fields String required True N/A nested N/A N/A fields Nested NestedSchema N/A nested_many N/A N/A fields Nested NestedSchema many True N/A N/A N/A widget N/A WidgetSchema N/A N/A pytest fixture views N/A N/A models schemas N/A N/A WidgetViewBase N/A GenericModelView N/A N/A model N/A models N/A widget N/A schema N/A schemas N/A widget N/A WidgetListView N/A WidgetViewBase N/A post N/A N/A self N/A N/A N/A N/A N/A self create N/A N/A WidgetView N/A WidgetViewBase N/A get N/A N/A self id N/A N/A N/A N/A N/A self retrieve id N/A patch N/A N/A self id N/A N/A N/A N/A N/A self update id partial True N/A N/A N/A N/A widget_list widget WidgetListView WidgetView N/A N/A pytest fixture routes N/A N/A app views N/A N/A N/A api N/A Api app N/A N/A N/A api add_resource /widgets N/A views N/A widget_list N/A views N/A widget id_rule <int:id> N/A N/A N/A pytest fixture autouse True data N/A N/A db models N/A N/A N/A N/A N/A N/A db session add N/A N/A models N/A widget name Foo N/A N/A N/A N/A db session commit N/A N/A N/A pytest fixture autouse True test_invalid_body N/A N/A client N/A N/A N/A response N/A N/A client post /widgets data foo N/A N/A N/A response status_code 400 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_body N/A test_data_missing N/A N/A client N/A N/A N/A response N/A N/A client post /widgets content_type application/json data {} N/A N/A N/A response status_code 400 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_data.missing N/A test_deserializer_errors N/A N/A client N/A N/A N/A response N/A N/A helpers request client POST /widgets N/A nested nested_many N/A value three N/A N/A value four N/A value 5 N/A value six N/A N/A N/A response status_code 422 N/A errors N/A N/A helpers get_errors response N/A error errors N/A N/A N/A N/A N/A error pop detail None None N/A N/A N/A errors sort key N/A N/A N/A error N/A N/A N/A error N/A source N/A pointer N/A N/A errors N/A N/A code source invalid_data N/A pointer /data/name N/A code source invalid_data N/A pointer /data/nested/value N/A code source invalid_data N/A pointer /data/nested_many/0/value N/A code source invalid_data N/A pointer /data/nested_many/2/value N/A test_id_forbidden N/A N/A client N/A N/A N/A response N/A N/A helpers request client POST /widgets N/A id name 2 Bar N/A N/A N/A response status_code 403 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_id.forbidden N/A test_id_missing N/A N/A client N/A N/A N/A response N/A N/A helpers request client PATCH /widgets/1 N/A name Bar N/A N/A N/A response status_code 422 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_id.missing N/A test_id_mismatch N/A N/A client N/A N/A N/A response N/A N/A helpers request client PATCH /widgets/1 N/A id name 2 Bar N/A N/A N/A response status_code 409 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_id.mismatch N/A test_commit_conflict N/A N/A client N/A N/A N/A response N/A N/A helpers request client POST /widgets N/A name Foo N/A N/A N/A response status_code 409 N/A N/A N/A N/A helpers get_errors response N/A N/A code invalid_data.conflict N/A test_debug N/A N/A app client N/A N/A N/A production_response N/A N/A client post /widgets data foo N/A N/A N/A production_response status_code 400 N/A N/A debug N/A N/A helpers get_body production_response N/A N/A app debug True N/A debug_response N/A N/A client post /widgets data foo N/A N/A N/A debug_response status_code 400 N/A N/A debug N/A N/A helpers get_body debug_response N/A