mercury icon indicating copy to clipboard operation
mercury copied to clipboard

Dynamic parameter configuration

Open shivendra2015iiit opened this issue 3 years ago • 1 comments

If we can add one preprocess block on top that runs only one time when notebooks is added. In this we can get some values which can be used to set configurations of parameter.

An example.

suppose we want to make "select" with choices as name of files in folder we can do something like this.

image

shivendra2015iiit avatar Feb 10 '22 23:02 shivendra2015iiit

Thank you @shivendra2015iiit for the idea. I need to think about it. Please give me some time.

At first sight, it will not work with the current architecture (all widgets values must be set before adding to Mercury). But this might be super useful for users - so let me think about this.

pplonski avatar Feb 11 '22 05:02 pplonski

It is implemented in Mercury V2, please read more on https://RunMercury.com

pplonski avatar Feb 15 '23 10:02 pplonski