I am trying to expose a config_schema for a graph,...
# ask-community
d
I am trying to expose a config_schema for a graph, but it doesn't work the way config_schema works for op's. I tried using "config" in the graph definition, but not sure how to apply it (especially how to use the config_fn argument to map to the ops). Also, how do I access the config values in the graph itself? I tried supplying the "context" argument, but that error out as a reserved term.
🤖 1
s
Hi DK - take a look at the second example under this heading: https://docs.dagster.io/concepts/ops-jobs-graphs/nesting-graphs#configuration-mapping. Does that help with what you're trying to accomplish?
d
yes! this looks like it will work. thank you!