get_metadata_transfer_set: move docstring into function