André Augusto
04/12/2023, 2:03 AMIOManagers
input/output config schema (since these are not provided at class init)?
I have an IOManager defined the old-way that uses both and I wanted to migrate to the new paradigm. The current documentation does not provide an example of how to do that: https://docs.dagster.io/master/guides/dagster/pythonic-resources#defining-pythonic-io-managersben
04/14/2023, 5:15 PMIOManager
manages its own internal state, you can create a separate ConfigurableIOManagerFactory
subclass which returns an instance of your IOManager
. If your IOManager
is relatively simple and doesn’t have internal state, you can instead make it implement ConfigurableIOManager
- in this case, you’d only have a single class.