modify get_vector_layers_by_type to return list of QgsMapLayers