Skip to content

Commit

Permalink
🐛 Force return on load for old style datasets (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galileo-Galilei committed Sep 23, 2024
1 parent ed43e0d commit 8ea5a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro_mlflow/io/artifacts/mlflow_artifact_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _load(self) -> Any: # pragma: no cover
if getattr(super().load, "__loadwrapped__", False): # modern dataset
return super().load.__wrapped__(self)
else: # legacy dataset
super()._load()
return super()._load()

# rename the class
parent_name = dataset_obj.__name__
Expand Down

0 comments on commit 8ea5a57

Please sign in to comment.