Kyle Montag
04/05/2023, 7:18 PMKyle Montag
04/05/2023, 7:19 PMKyle Montag
04/05/2023, 7:24 PMresource_defs
isn’t being forwarded anywhere which means you can’t define your own resources for a graph backed asset.Kyle Montag
04/05/2023, 7:24 PMresource_defs
isn’t included as part of this decorator that i’m not aware of?Kyle Montag
04/05/2023, 7:26 PMAssetsDefinition.from_graph
supports the resource_defs
argument so i’d imagine its just an oversightKyle Montag
04/05/2023, 7:27 PM@graph_asset(group_name="MyGroup", resource_defs={"io_manager": my_io_manager})
to workNateV
04/05/2023, 8:35 PMNateV
04/05/2023, 8:35 PMKyle Montag
04/06/2023, 4:27 PMsandy
04/06/2023, 5:00 PM@graph_asset
doesn't currently have a resource_defs
argument. if you file a github issue for this, we can try to get to adding one. we'd also be happy to review a PR if you're interested in contributing.sandy
04/06/2023, 5:01 PMhow do i use an IO manager with a graph backed asset? i don’t see anything in the source code or in the docs…the main way to do this is to set an io_manager_key on the op inside the graph here's an issue where we're tracking making it possible to set an io_manager_key when defining the graph asset: https://github.com/dagster-io/dagster/issues/9357
Kyle Montag
04/06/2023, 5:18 PMKyle Montag
04/06/2023, 6:03 PMsandy
04/06/2023, 6:31 PMKyle Montag
04/14/2023, 1:52 PMsandy
04/14/2023, 5:27 PMKyle Montag
04/18/2023, 3:43 PMmake black
🙂Kyle Montag
04/18/2023, 5:06 PMKyle Montag
04/25/2023, 4:16 PM1.3.1
release tagsandy
04/25/2023, 6:30 PM