You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep running into this scenario where an IO Manager needs to be configured for a given asset but using metadata for this feels like a "hack" because it bypasses all of the great validation available within Dagster for config schemas. For example, I often want to use a common SparkDataFrameIOManager and configure it differently for certain assets (i.e. partitionBy, mode, etc.), but currently it seems like that either needs to be configured at the instance level, or through asset metadata.
Another way of doing this is to return a tuple of your actual object and I/O parameters (saved with pickle). Way more ugly but also more powerful as you can work with complex parameters (arbitrary Python objects).
E.g.
The text was updated successfully, but these errors were encountered: