Is it possible for a `dagster_type_materializer` t...
# announcements
k
Is it possible for a
dagster_type_materializer
to receive multiple materialization configs all at once, instead of being called once per config? For example, the following solid config materializes the Dask DataFrame
facets_df
to both JSON files and a database. This config works (when given real values), but I can’t construct an optimal Dask graph because the Dask
dataframe_materializer()
is called for each config separately. I’d ideally like to be called with both configs, and then compute a Dask graph for them together at the same time.
Copy code
solids:
  extract_info:
    outputs:
      - facets_df:
          to:
            json:
              path: <s3://bucket/key>
      - facets_df:
          to:
            sql:
              name: table
              uri: <postgresql://server:5432/postgres>