def dump_resource_to_zipfile(resource, zipfile, content_type=None):
    """
    Convenience function. See
    :meth:`everest.resources.io.ConnectedResourcesSerializer.to_zipfile` for
    details.

    The given context type defaults to CSV.
    """
    if content_type is None:
        content_type = CsvMime
    srl = ConnectedResourcesSerializer(content_type)
    srl.to_zipfile(resource, zipfile)
def dump_resource_to_zipfile ( resource , zipfile , content_type = None ) : if content_type is None : content_type = CsvMime srl = ConnectedResourcesSerializer ( content_type ) srl . to_zipfile ( resource , zipfile )
Convenience function. See
    :meth:`everest.resources.io.ConnectedResourcesSerializer.to_zipfile` for
    details.

    The given context type defaults to CSV.