code: def configure_upload(graph, ns, mappings, exclude_func=None):
      
      convention = UploadConvention(graph, exclude_func)
      convention.configure(ns, mappings)
docs: Register Upload endpoints for a resource object.