pisa icon indicating copy to clipboard operation
pisa copied to clipboard

`ContainerSet`'s `_representation` attribute is not set upon initialisation (possibly related to unused `data_specs` constructor parameter)

Open thehrh opened this issue 6 months ago • 0 comments

Trying to access the representation attribute of a newly instantiated ContainerSet results in:

AttributeError: 'ContainerSet' object has no attribute '_representation'. Did you mean: 'representation'?

because self._representation is not assigned a default value . This does not seem like intended behaviour.

Possible solution: replace the constructor parameter data_specs (which is unused right now, bug!) with representation, and call the representation setter with that argument?

thehrh avatar Aug 15 '24 23:08 thehrh