Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad body Expr Yield NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Pass Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list decorator_list
N/A flask_potion.exceptions ItemNotFound flask_potion.instances Pagination flask_potion.manager Manager flask_potion.signals before_add_to_relation after_add_to_relation before_remove_from_relation after_remove_from_relation flask_potion.utils get_value MemoryManager N/A Manager N/A N/A 
    An in-memory, pure-python :class:`Manager` implementation.

    .. warning::

        This manager is intended for debugging & testing only and should not be used in production.
     __init__ N/A N/A self resource model N/A N/A N/A N/A N/A N/A super MemoryManager self __init__ resource model N/A N/A self id_sequence 0 N/A N/A self items N/A N/A N/A self session N/A N/A _new_item_id N/A N/A self N/A N/A N/A N/A self id_sequence 1 N/A N/A self id_sequence N/A _filter_items N/A N/A items conditions N/A N/A N/A item items N/A N/A N/A all N/A N/A condition item N/A condition conditions N/A N/A N/A item N/A staticmethod _sort_items N/A N/A items sort N/A N/A N/A N/A field key reverse N/A reversed sort N/A N/A items N/A sorted items key N/A N/A N/A item N/A N/A get_value key item None reverse reverse N/A items N/A staticmethod _paginate N/A N/A self items page per_page N/A N/A N/A N/A N/A Pagination from_list N/A list items page per_page N/A relation_instances N/A N/A self item attribute target_resource page per_page N/A None None N/A N/A collection N/A N/A item get attribute N/A set N/A items N/A N/A id collection N/A N/A N/A N/A N/A N/A items append N/A N/A N/A target_resource manager read id N/A N/A N/A ItemNotFound N/A N/A N/A N/A collection remove id N/A N/A N/A N/A Pagination from_list items page per_page N/A relation_add N/A N/A self item attribute target_resource target_item N/A N/A N/A N/A N/A before_add_to_relation send N/A self resource item item attribute attribute child target_item N/A N/A item N/A attribute collection N/A N/A item get attribute N/A set N/A item_id N/A target_item N/A N/A N/A target_resource manager id_attribute N/A N/A N/A collection add item_id N/A N/A N/A after_add_to_relation send N/A self resource item item attribute attribute child target_item N/A relation_remove N/A N/A self item attribute target_resource target_item N/A N/A N/A N/A N/A before_remove_from_relation send N/A self resource item item attribute attribute child target_item N/A N/A item N/A attribute collection N/A N/A item get attribute N/A set N/A item_id N/A target_item N/A N/A N/A target_resource manager id_attribute N/A N/A N/A collection remove item_id N/A N/A N/A after_remove_from_relation send N/A self resource item item attribute attribute child target_item N/A paginated_instances N/A N/A self page per_page where sort N/A None None N/A N/A N/A N/A self _paginate N/A N/A self instances where where sort sort page per_page N/A instances N/A N/A self where sort N/A None None N/A N/A items N/A N/A N/A self items values N/A N/A where None N/A N/A items N/A N/A self _filter_items items where N/A N/A sort None N/A N/A items N/A N/A self _sort_items items sort N/A items N/A first N/A N/A self where sort N/A None None N/A N/A N/A N/A N/A next N/A N/A self instances where sort N/A N/A N/A StopIteration N/A N/A N/A ItemNotFound N/A self resource where where N/A create N/A N/A self properties commit N/A True N/A N/A item_id N/A N/A self _new_item_id N/A item N/A dict N/A N/A self id_attribute item_id N/A N/A N/A item update properties N/A commit N/A N/A N/A N/A self items N/A item_id item N/A N/A N/A N/A self session N/A item_id item N/A item N/A read N/A N/A self id N/A N/A N/A N/A N/A item N/A N/A self items N/A id N/A N/A N/A KeyError N/A N/A N/A ItemNotFound N/A self resource id id N/A item N/A update N/A N/A self item changes commit N/A True N/A N/A item_id N/A item N/A N/A self id_attribute N/A item N/A dict item N/A N/A N/A item update changes N/A commit N/A N/A N/A N/A self items N/A item_id item N/A N/A N/A N/A N/A self session append N/A item_id item N/A item N/A delete N/A N/A self item N/A N/A N/A item_id N/A item N/A N/A self id_attribute N/A N/A N/A self items N/A item_id N/A commit N/A N/A self N/A N/A N/A N/A item_id item N/A self session N/A N/A N/A N/A self items N/A item_id item N/A begin N/A N/A self N/A N/A N/A N/A self session N/A N/A N/A