Is there currently a way when using `define_asset_...
# ask-community
a
Is there currently a way when using
define_asset_job
to include
resource_defs
? I want to specify a custom IO manager for a specific asset job, but it doesn't seem like this is currently supported
s
This isn't currently possible - you'd need to put the IO manager on the assets you're targeting or on the
Definitions
a
I see, is this by design, or something that might be added in the future? I guess since assets can have their own
resource_defs
, you could potentially end up overriding them if
define_asset_job
has a
resource_defs
param
s
It's not something we currently envision adding, for the reason you mentioned.
define_asset_job
is essentially just meant to be a selection layer over assets that are already defined elsewhere. If different jobs were materializing the same assets using different I/O managers, it could be confusing that the same asset definition could correspond to distinct physical assets in different storage systems.
a
That makes sense. Thank you for the clarification.