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

Gabe Schine

12/21/2022, 3:14 PM
Greetings. I'm encountering a configuration error when loading my definitions: I have a
job
that calls an
asset
that itself has two upstream assets. The
job
has a
config=
set for one of the
ops
(via
config={"ops":{"op1": ...}}
). When I attempt to load the repository, I get an error like so:
Copy code
Missing required config entries "asset1" at the root. Sample config for missing entries: {'asset1': {'inputs': {'upstream_asset1': '...', 'upstream_asset2': '...'}}}
If I add the above scaffold to my `job`'s
config=
stanza, I get another error:
Copy code
Error 1: Must specify a field at path root:asset1:inputs:upstream_asset1 if more than one field is defined. Defined fields: ['json', 'pickle', 'value']
I'm not sure why this configuration is needed (I did not define any
config_schema
for any of the assets), and I also wouldn't know what are the correct values to place in these config sections. I can't find anything in the documentation (or by reading the dagster source code, even) that helps me figure it out. Thanks for any help/pointers you can offer!
2 Views