human
I wrote the below code

    from google.appengine.tools import dev_appserver
    class UploadDispatcher(dev_appserver.URLDispatcher, ):
        'Dispatcher    that    handles    uploads.'
        def __init__(self):
            'Constructor.\n\n                        Args:\n                                blob_storage:    A    BlobStorage    instance.\n                        '
            self.__cgi_handler = dev_appserver_upload.UploadCGIHandler(get_blob_storage())
        def Dispatch(self, request, outfile, base_env_dict=None):
            'Handle    post    dispatch.\n\n                        This    dispatcher    will    handle    all    uploaded    files    in    the    POST    request,    store\n                        the    results    in    the    blob-storage,    close    the    upload    session    and    transform\n                        the    original    request    in    to    one    where    the    uploaded    files    have    external\n                        bodies.\n\n                        Returns:\n                                New    AppServerRequest    indicating    request    forward    to    upload    success\n                                handler.\n                        '
            if (base_env_dict['REQUEST_METHOD'] != 'POST'):
                outfile.write('Status:    400\n\n')
                return
            upload_key = re.match(UPLOAD_URL_PATTERN, request.relative_url).group(1)
            try:
                upload_session = datastore.Get(upload_key)
            except datastore_errors.EntityNotFoundError:
                upload_session = None
            if upload_session:
                success_path = upload_session['success_path']
                max_bytes_per_blob = upload_session['max_bytes_per_blob']
                max_bytes_total = upload_session['max_bytes_total']
                bucket_name = upload_session.get('gs_bucket_name', None)
                upload_form = cgi.FieldStorage(fp=request.infile, headers=request.headers, environ=base_env_dict)
                try:
       ...

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def CreateUploadDispatcher(get_blob_storage=GetBlobStorage):