Kevin Schaich
02/13/2023, 3:06 AM@asset(io_manager_def=None)
but that doesn't do it.Andras Somi
02/13/2023, 9:07 AMIOManager
class (which will be still called, so you’ll see the logs). Also, you can use the non_argument_deps
keywords to specify logical dependencies on assets without actual data dependency. I believe in this case Dagster won’t run load_input
on the upstream asset’s io_manager (but handle_output
will still be called when the upstream asset is materialized).
https://docs.dagster.io/concepts/assets/software-defined-assets#non-argument-dependenciesowen
02/13/2023, 5:55 PMNone
return type:
@asset
def my_asset() -> None:
pass
but you can also do this by setting the dagster_type
of the asset to `Nothing`:
@asset(dagster_type=Nothing)
def my_asset():
pass
owen
02/13/2023, 5:57 PMmy_asset
an argument to your downstream function (and no input loading behavior will be invoked, as dagster knows it is of type "Nothing"), but if you prefer, you can not have it as part of the function signature by using non_argument_depsAndras Somi
02/13/2023, 8:40 PMowen
02/13/2023, 8:55 PM