From 40056ec653f0e398a6a0fbe98f01f7c11c5ef457 Mon Sep 17 00:00:00 2001 From: Nikolaos Triantafyllis Date: Mon, 8 Jan 2024 17:06:36 +0200 Subject: [PATCH] REC-298 fix bad type of resource_id in recommendations --- rsmetrics.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsmetrics.py b/rsmetrics.py index c37069b..cae1151 100755 --- a/rsmetrics.py +++ b/rsmetrics.py @@ -495,6 +495,8 @@ class GetCatalogArgs: [-1, None]) ] + run.recommendations["resource_id"] =\ + run.recommendations["resource_id"].astype(str) # we have added None which is the new state of unkown resources # and -1 for backward compatibility run.recommendations = run.recommendations[