Daniel Kim
07/17/2021, 5:47 PMconfig_schema=
is still available for the @op decorator. Will there be a rename for the word "solid" to "op" in the context object and then for to_job()'s config=
, "solids" will be renamed to "ops"?
For example: context.solid_config['some_value']
will change to context.op_config['some_value']
and then
my_job = my_graph.to_job(
name='My_Job',
config={
'solids': {
'expensive_task1': {'config': {'plant_code': 'Plant_Code_123'}},
'expensive_task2': {'config': {'plant_code': 'Plant_Code_123'}}
}
}
)
will be
my_job = my_graph.to_job(
name='My_Job',
config={
'ops': {
'expensive_task1': {'config': {'plant_code': 'Plant_Code_123'}},
'expensive_task2': {'config': {'plant_code': 'Plant_Code_123'}}
}
}
)
Correct? Or are we keeping the solid/solids references still for some reason?chris
07/17/2021, 10:53 PM