this will break if cov_func is an instance of Covariance ...
Also I would prefer renaming it. Why not simply data_cov as in mne.beamformer.lcmv?
Also it's quite a strong assumption to compute the cov on the entire data passed without specifying tmin, tmax ...