https://dagster.io/ logo
#ask-community
Title
# ask-community
k

Kayvan Shah

06/02/2022, 10:59 AM
Trying to understand what should be passed into the run_config based upon the error trace
Copy code
dagster/lib/python3.9/site-packages/dagster/core/system_config/objects.py", line 160, in build
    raise DagsterInvalidConfigError(
dagster.core.errors.DagsterInvalidConfigError: Error in config for job
    Error 1: Missing required config entry "inputs" at the root. Sample config for missing entry: {'inputs': {'number': '<selector>'}}
Found a way to do so but it doesn't seem that robust
Copy code
to_fahrenheit.to_job(input_values={"number": 789}).execute_in_process(
        run_config=run_config
    )
z

Zach

06/02/2022, 3:43 PM
I think you can use something like
Copy code
run_config = {
        "ops": {"config": {"from_unit": "kelvin"}},
        "inputs": {"number": {"value": 789}}
    }
I wish I could point you to a doc but I haven't seen much that shows how to configure a graph input that doesn't come from another graph. the closest I can find is sub-graphs - I think the point is that usually the
number
parameter would be passed by another graph or op, liked in the example on graph nesting
🤖 1
k

Kayvan Shah

06/03/2022, 9:40 AM
Thanks @Zach for the explanation. Got the entire DAG working