Skip to content

Commit

Permalink
Merge pull request #212 from nikosT/rec298
Browse files Browse the repository at this point in the history
REC-298 Fix bad type of resource_id in recommendations
  • Loading branch information
kaggis authored Jan 9, 2024
2 parents 186af8a + 40056ec commit 1fa3dea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rsmetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down

0 comments on commit 1fa3dea

Please sign in to comment.