Caleb Parnell Lampen
04/18/2023, 7:33 PMload_asset_value
without specifying a partition, and got a very unhelpful error. I think the function tried to load the parent directory containing the partitioned asset with pickle as though it was the pickled file, giving me an unhelpful IsADirectoryError
. I eventually realized the problem was I wasn't specifying a partition_key
. It would be helpful if, in a case like this, the error message told me explicitly to supply a partition key for a partitioned asset, rather than leave it to the lower level pathlib to throw an error that doesn't explain what I did wrong.Tim Castillo
04/19/2023, 2:28 AMload_asset_value
! It's one of my favorite hidden gems of Dagster.Caleb Parnell Lampen
04/19/2023, 4:37 PM