def export_statistics_to_json()

in jetstream/cli.py [0:0]


def export_statistics_to_json(project_id, dataset_id, bucket, experiment_slug):
    """Export all tables as JSON to a GCS bucket."""
    if bucket is None:
        logger.warning("No bucket specified. Analysis results won't be exported to GCS.")
    else:
        for slug in experiment_slug:
            export_statistics_tables(project_id, dataset_id, bucket, slug)