From ed15526e53f36a810f8a64e3da548a3c56b96fa6 Mon Sep 17 00:00:00 2001 From: Tom White Date: Wed, 20 Mar 2024 16:13:59 +0000 Subject: [PATCH] Fix deprecation warning on `logger.warn` --- cubed/runtime/executors/lithops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubed/runtime/executors/lithops.py b/cubed/runtime/executors/lithops.py index b768a1ca..8abef4e5 100644 --- a/cubed/runtime/executors/lithops.py +++ b/cubed/runtime/executors/lithops.py @@ -138,7 +138,7 @@ def map_unordered( future, now, start_times[group_name], end_times[group_name] ): input = future.input - logger.warn(f"Running backup task for {group_name} on {input}") + logger.warning(f"Running backup task for {group_name} on {input}") futures = lithops_function_executor.map( group_name_to_function[group_name], [input],