Avaiga / taipy-core

A Python library to build powerful and customized data-driven back-end applications.
Apache License 2.0
39 stars 15 forks source link

implement data_node._get_user_properties(*key_to_add) method API #701

Closed jrobinAV closed 1 year ago

jrobinAV commented 1 year ago

For DataNodeviewer core visual element (specifications), a new API should be opened.

It consists in building dynamically and returning the property list containing only the custom properties created by the user. The Taipy internal properties must be filtered out.

Eventually, the caller can provide a list of property keys NOT to filter out.

def (self, *list_of_properties_to_keep): -> Dict
    pass
trgiangdo commented 1 year ago

For now, the implementation of DataNode._get_user_properties() API accepts no parameter, and return only the custom properties of the user.

If it accepts *list_of_properties_to_keep parameter, what will it return?

trgiangdo commented 1 year ago

We decided to not add any parameter to the API at the moment. We can do that in the future if necessary