Is your feature request related to a problem? Please describe.
I have python components that I would like to use in multiple ensembles (both within a container but also in different projects), but require slightly different configuration in each place. This configuration can be handled easily if there is a mechanism to pass in dta directly or if the python model knows which ensemble it is being called by, but to do this currently requires custom setup inside the python config.pbtxt, which can be more error-prone and is not consistent with code sharing.
Describe the solution you'd like
I'd like to be able to specify the value of a model parameter inside the corresponding Step field of the ensemble model:
This solution is helpful because it can also be used to pass in configuration information explicitly or implicitly by passing in the calling ensemble's name.
Describe alternatives you've considered
Another possibility is be being able to access the calling ensemble from the request, but this option would be less flexible and require a lot more boilerplate code for simple use cases.
Is your feature request related to a problem? Please describe. I have python components that I would like to use in multiple ensembles (both within a container but also in different projects), but require slightly different configuration in each place. This configuration can be handled easily if there is a mechanism to pass in dta directly or if the python model knows which ensemble it is being called by, but to do this currently requires custom setup inside the python config.pbtxt, which can be more error-prone and is not consistent with code sharing.
Describe the solution you'd like I'd like to be able to specify the value of a model parameter inside the corresponding Step field of the ensemble model:
This solution is helpful because it can also be used to pass in configuration information explicitly or implicitly by passing in the calling ensemble's name.
Describe alternatives you've considered Another possibility is be being able to access the calling ensemble from the request, but this option would be less flexible and require a lot more boilerplate code for simple use cases.