Xuan Mai Ho
09/07/2022, 1:33 PMyuhan
09/07/2022, 5:18 PMhandle_output
. You can make it depend on other io managers using resource-to-resource dependencies, such as:
@io_manager(required_resource_keys={"other_io_manager_1", "other_io_manager_2"})
def master_io_manager(init_context):
other_io_manager_1 = init_context.resources.other_io_manager_1
other_io_manager_2 = init_context.resources.other_io_manager_2
return MasterIOManager(other_io_manager_1, other_io_manager_2)
class MasterIOManager(IOManager):
def handle_output(self, context, obj):
context.resources.other_io_manager_1.handle_output(context, obj)
context.resources.other_io_manager_2.handle_output(context, obj)
EDIT: we currently don’t have native support for multiple IO Managers to an asset.Xuan Mai Ho
09/08/2022, 4:23 PMyuhan
09/08/2022, 7:58 PMDagster Bot
09/08/2022, 7:58 PMyuhan
09/08/2022, 7:59 PM