Ben Torvaney
03/22/2021, 4:36 PMSteve Pletcher
03/22/2021, 4:46 PMBen Torvaney
03/22/2021, 4:47 PMSteve Pletcher
03/22/2021, 4:47 PMSHARED_SCHEMA = {
'foo': StringSource,
}
@solid(config_schema={
**SHARED_SCHEMA,
'bar': IntSource,
})
def foobar(self): ...
Ben Torvaney
03/22/2021, 4:50 PMsandy
03/22/2021, 5:10 PMBen Torvaney
03/22/2021, 5:15 PMsolids:
# ...:
custom:
solids:
- my_solid_a
- my_solid_n
config:
some_config_ids:
- 12
- 90
- 42
But I have to say, I’m not convinced this is a great idea…
My hesitance towards resources is that it has additional flexibility that I don’t think would ever be used. Perhaps that’s more of an aesthetic concern than a practical or conceptual one?Cameron Gallivan
03/22/2021, 5:40 PMmax
03/22/2021, 5:45 PMconfigured
, if these values rarely changeSteve Pletcher
03/22/2021, 6:01 PMconfigured