human
I wrote the below code

    def notimplemented(script):
        utils.LOGGER.warning('Migration    not    implemented    for    script    %r', script['id'])
        raise NotImplementedError
    return {'smb-ls': add_smb_ls_data, 'nfs-ls': add_nfs_ls_data, 'afp-ls': add_afp_ls_data, 'ftp-anon': add_ftp_anon_data}.get(script['id'], notimplemented)(script)

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

def add_ls_data(script):