taipy
taipy copied to clipboard
Configure Multiple DataNodes in a single line of code.
What would that feature address Configuring multiple datanodes in a single line of code.
Description of the ideal solution
message_dn_cfg, input_name_dn_cfg, input_phone_dn_cfg= Config.configure_data_node(ids=["message","input_name","input_phone"])
Caveats What impact could that feature have on the rest of the product, and should be taken special care of?
- Time saving.
- Makes it easier to debug when related variables are grouped.
Acceptance Criteria
- [ ] Ensure new code is unit tested, and check code coverage is at least 90%
- [ ] Create related issue in taipy-doc for documentation and Release Notes
- [ ] Check if a new demo could be provided based on this, or if legacy demos could be benefit from it
- [ ] Ensure any change is well documented
I like the simplicity of the API. The signature could be something like:
def Config.configure_multiple_data_nodes(*config_ids, **properties)
All the data node configs created will have the same properties. This is a bit strange to me though. I would like to be sure this is not error prone.
Hello @Forchapeatl I'd like to hack on this
@trgiangdo please assign this to @mobley-trent
Hello @mobley-trent , thank you so much , feel free to reach out if you need any help.
Hello @Forchapeatl and @mobley-trent, the Taipy team first needs to discuss about the value of the feature before incorporate it into the library. Please be patient and follow the discussion on this issue here