https://dagster.io/ logo
c

Cagatay K

10/31/2019, 5:05 PM
I'm running into an issue using
dagstermill
when accessing solid configs from inside the notebook. The notebook has a
dict
config, declared like:
Copy code
config_field=Field(
        Dict({
            'areas': Field(List[str], is_optional=True, default_value=["a", "b", "c"]),
            'export_file': Field(Path)
        })
    )
When I access the config value in the notebook during a job run with
context.solid_config['export_file']
, I get a
KeyError
. What options do I have to debug this? Can I step through the generated notebook in the
/tmp
location on my own to reproduce it? Or is there a way to debug a pipeline job while it's running?
a

alex

10/31/2019, 5:22 PM
@max is probably best suited to help with this
m

max

10/31/2019, 5:37 PM
you can certainly step through the generated notebook, this will have the config templated in
that should work, we have a test case that does basically the same thing
👍 1
lmk if you have any issues with that strategy