Skip to content

Commit 8618419

Browse files
committed
fix(skore-hub-project): Fix after #2158 which change skore cache from dict to userdict
1 parent 868e8b6 commit 8618419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skore-hub-project/src/skore_hub_project/artifact/media/feature_importance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Permutation(FeatureImportance[EstimatorReport], ABC): # noqa: D101
4545
name: Literal["permutation"] = "permutation"
4646

4747
def content_to_upload(self) -> bytes | None: # noqa: D102
48-
for key, obj in reversed(self.report._cache.items()):
48+
for key, obj in reversed(list(self.report._cache.items())):
4949
if len(key) < 7:
5050
continue
5151

0 commit comments

Comments
 (0)