From 36f8cc66d36f5834044bf29d36d9bc22ce2147f6 Mon Sep 17 00:00:00 2001 From: Alex Bednarek Date: Mon, 4 Mar 2024 12:45:06 -0500 Subject: [PATCH] Passing api tests with sentry monitor. --- api/datalake_api/v0.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/datalake_api/v0.py b/api/datalake_api/v0.py index a08af73..dde7c3a 100644 --- a/api/datalake_api/v0.py +++ b/api/datalake_api/v0.py @@ -143,8 +143,8 @@ def _copy_immutable_dict(d): return {k: v for k, v in d.items()} -@v0.route('/archive/files/') @monitor_performance() +@v0.route('/archive/files/') def files_get(): '''List files @@ -477,7 +477,6 @@ def _validate_latest_params(params): @v0.route('/archive/latest//') -@monitor_performance() def latest_get(what, where): '''Retrieve the latest file for a give what and where @@ -529,7 +528,6 @@ def latest_get(what, where): @v0.route('/archive/latest///data') -@monitor_performance def latest_get_contents(what, where): '''Retrieve the latest file data for a given what and where