clay
03/22/2023, 9:42 PM@asset
decorator, the name of the asset definition is, by default, the AssetKey
?jamie
03/23/2023, 2:05 PM@asset(
key_prefix=["prefix_1", "prefix_2"]
)
def my_asset():
....
will create an asset with the name/AssetKey of ["prefix_1", "prefix_2", "my_asset"]
and
@asset(
key_prefix=["prefix_1", "prefix_2"],
name="my_custom_name"
)
def my_asset():
....
will create an asset with the name/AssetKey of ["prefix_1", "prefix_2", "my_custom_name"]