diff --git a/Changelog.md b/Changelog.md index e4a3140f4878795479fd040b6ffe82e2db70243c..241519c3d8f1acf4b388d5ce1733fc8593ac2870 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [0.47] - 2024-01-30 +- COMP-288: Mass data download network and other models + ## [0.46] - 2024-01-26 - COMP-288: Mass data download diff --git a/compendium_v2/routes/data_download.py b/compendium_v2/routes/data_download.py index a3ffc98fb3db36252589c9511083b9027db2b582..2d1c5e89fb4b00d4c9156aead186de8e22c241fc 100644 --- a/compendium_v2/routes/data_download.py +++ b/compendium_v2/routes/data_download.py @@ -1,5 +1,6 @@ import logging from typing import List, Optional, Dict, Any, Sequence +from compendium_v2.auth.session_management import admin_required from compendium_v2.db.presentation_models import AlienWave, BudgetEntry, Capacity, CentralProcurement, \ CertificateProviders, \ @@ -22,6 +23,7 @@ logger = logging.getLogger(__name__) @routes.route('/', methods=['GET']) @common.require_accepts_json +@admin_required def fetch_and_combine_data() -> Sequence[Optional[Dict[str, Any]]]: result_set: List[Optional[Dict[str, Any]]] = []