Is it possible to use run configurations with asse...
# ask-community
c
Is it possible to use run configurations with assets? If so is there an example anywhere?
f
Had the same problem, where I tried to materialize an asset, that has config. I found this question ( and answer) helpful: https://dagster.slack.com/archives/C01U954MEER/p1678783501272329
v
I’ve also been waiting for this feature. Currently the workarounds are to either use
define_asset_job
and configure the job, or use a graph-backed asset and configure the graph, e.g.
Copy code
@graph(config=conf)
def my_graph():
    ...

@graph_asset
def my_asset():
    return my_graph()
c
Thanks guys! If there's a full example that'd be super useful!
s
Dagster assets can take a
config_schema
just like ops: https://docs.dagster.io/_apidocs/assets#dagster.asset
c
Thanks @sean - can you please point me to an example that uses config_schema - ideally from yaml?