yuhan
09/29/2022, 10:06 PMStephen Bailey
09/30/2022, 2:07 AMgeoHeil
09/30/2022, 1:03 PMAssets can be loaded outside of a run, e.g. in notebooks
in more detail or link to a description?sandy
09/30/2022, 2:52 PMgeoHeil
09/30/2022, 2:53 PMsandy
09/30/2022, 2:54 PMgeoHeil
10/01/2022, 6:55 AMNicolas Galland
10/05/2022, 12:00 PMgeoHeil
10/06/2022, 2:28 PMrepo.load_asset_value(AssetKey("asset1"))
geoHeil
10/06/2022, 2:57 PMAttempting to access asset_key, but it was not provided when constructing the OutputContext
when trying to execute repo.load_asset_value(AssetKey(["prefix", "key"]))
geoHeil
10/06/2022, 4:20 PMsandy
10/06/2022, 6:26 PMsandy
10/07/2022, 3:10 PMHow can the desired type of the loaded asset be specified
load_asset_value
accepts a python_type
argument that allows you to specify that type that you want to load into. details here: https://docs.dagster.io/_apidocs/repositories#dagster.RepositoryDefinition.load_asset_valuegeoHeil
10/07/2022, 7:16 PMDagsterInvariantViolationError: Attempting to access op_def, but it was not provided when constructing the InputContext
is the error message I am greeted with.geoHeil
10/07/2022, 7:16 PMmeta_config = context.op_def.output_defs[0].metadata
trying to access the metadata which is part of the assets definition.geoHeil
10/07/2022, 7:17 PMop_def
be provided to this input context?sandy
10/07/2022, 11:26 PMop_def
on there in a future change, but why not just use context.metadata
?geoHeil
10/08/2022, 7:30 AMgeoHeil
10/08/2022, 7:35 AMsandy
10/10/2022, 3:05 PM