From 585cff67ffe479d8bc92ae73a8275fb9bd0b4a78 Mon Sep 17 00:00:00 2001 From: Cassandra Lem Date: Thu, 16 May 2024 16:52:15 -0700 Subject: [PATCH] Added new file to test StatsAggregator class --- invenio.cfg | 2 +- site/kcworks/stats_dashboard/stats_agg.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 site/kcworks/stats_dashboard/stats_agg.py diff --git a/invenio.cfg b/invenio.cfg index 4284db87..d9824588 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -53,7 +53,7 @@ from invenio_rdm_records.services import facets from invenio_records_resources.services.custom_fields import TextCF from invenio_saml.handlers import acs_handler_factory -# from invenio_stats.aggregations import StatAggregator +from invenio_stats.aggregations import StatAggregator # from invenio_stats.contrib.event_builders import build_file_unique_id # from invenio_stats.processors import EventsIndexer, anonymize_user, # flag_robots diff --git a/site/kcworks/stats_dashboard/stats_agg.py b/site/kcworks/stats_dashboard/stats_agg.py new file mode 100644 index 00000000..839e8c6e --- /dev/null +++ b/site/kcworks/stats_dashboard/stats_agg.py @@ -0,0 +1,3 @@ +from invenio_stats.aggregations import StatAggregator + +test_stat_agg = StatAggregator() \ No newline at end of file