Dominick Giordano
05/19/2022, 5:33 PMdagster.core.errors.DagsterInvalidConfigError: Error in config for solid 'get_prices'
Error 1: Received unexpected config entry "load_type" at path root:config. Expected: "{ suppliercode_bizids?: { }? }".
Error 1: Received unexpected config entry “load_type” at path root:config. Expected: “{ suppliercode_bizids?: { }? }“.
My current graph:
@graph
def load_price():
@configured(
get_price_loads,
config_schema={
"suppliercode_bizids": Field(Noneable(dict), default_value=None),
"load_type": Field(Noneable(str), default_value=None)
}
)
def get_prices(config):
return {
"suppliercode_bizids": config.get("suppliercode_bizids"),
"load_type": config.get("load_type"),
}
(
get_prices()
.map(process_prices)
.map(price_load_sqldb)
)
I am calling the graph in the UI with the following op added:
ops:
get_prices:
config:
load_type: delta
Any ideas why this does not work?johann
05/19/2022, 8:23 PMDominick Giordano
05/20/2022, 1:32 PM