<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_crud(graph, ns, mappings):
 """ Register CRUD endpoints for a resource object. :param mappings: a dictionary from operations to tuple, where each tuple contains the target function and zero or more marshmallow schemas according to the signature of the "register_<foo>_endpoint" functions Example mapping: { Operation.Create: (create_foo, NewFooSchema(), FooSchema()), Operation.Delete: (delete_foo,), Operation.Retrieve: (retrieve_foo, FooSchema()), Operation.Search: (search_foo, SearchFooSchema(), FooSchema(), [ResponseFormats.CSV]), } """

    convention = CRUDConvention(graph)
    convention.configure(ns, mappings)