Closed stefanoborini closed 7 years ago
It is no longer used and is made redundant. Instead I think we can add a class method to DataContainer that instantiate a DataContainer with the restricted keys.
Ok, thanks. The conclusion is that I will remove the method, and put a classmethod constructor to set specific restricted keys at creation.
SGTM. Thanks.
Done in #334
So, there's a function in data_container, called create_data_container. It actually creates a new class derived from DataContainer, with defined restricted keys. I am unsure of the logic behind it, but to me it seems redundant and pointless. What this function should eventually do is to instantiate an (empty) DataContainer with the proper restricted keys as specified.