From e6139bcbab599b2d44e8124e952dcf1b039db9cf Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 10 Jan 2025 12:22:53 +0000 Subject: [PATCH] change location of safe_divide function --- backend/api/pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/pipelines.py b/backend/api/pipelines.py index 36cf59d..8975ed8 100644 --- a/backend/api/pipelines.py +++ b/backend/api/pipelines.py @@ -71,7 +71,7 @@ def bitcoin_business_growth_percent_diff_days_ago(args): last_value, last_value - first_value as difference, round( - 100 * safe_divide((last_value - first_value), first_value), 2 + 100 * models_final.safe_divide((last_value - first_value), first_value), 2 ) as percent_difference from first_and_last_values )