Join Slack
Powered by
Hi there! Can we set two different io_managers for...
# ask-community
w
Wonjae Lee
04/10/2023, 10:32 PM
Hi there! Can we set two different io_managers for single asset? we want to load data from bq but export data to mongo db. in this case, can we use bq_io_manager to load then use our custom io manager to export to mongodb
c
claire
04/10/2023, 10:41 PM
Hi Wonjae. I think you can use the branching IO manager for this use case:
https://github.com/dagster-io/dagster/blob/master/python_modules/dagster/dagster/_core/storage/branching/branching_io_manager.py#L34
❤️ 1
w
Wonjae Lee
04/11/2023, 6:52 PM
Thanks a lot for the fast support 🙂
@claire
2
Views
Open in Slack
Previous
Next