Closed akruszewski closed 4 years ago
@akruszewski Gotcha! Maybe instead of using if _filepath is None
, we should do an explicit check for a MemoryDataSet
. I think that'll be a robust way to get where we want.
@tamsanh That's definitely better idea than solution in this PR. I will update this PR today with that change.
@tamsanh ready for review.
Looks great! I'll merge and rerelease. It works for your use case, right? @akruszewski
Yes, it was tested with it. Thanks! @tamsanh
I just figure out, that I didn't used version from this PR during tests and introduced bug (removed dataset_path
). Sorry... @tamsanh
@akruszewski No worries, I caught the bug, and fixed the code in the latest release
When trying to load
InMemoryDataset
kedro.io.core.DataSetError: Data for MemoryDataSet has not been saved yet
exception is raised. To prevent thatdataset_value
is used when_filepath
isNone