ZnDraw icon indicating copy to clipboard operation
ZnDraw copied to clipboard

Create base data class for data transfer objects

Open RokasEl opened this issue 2 years ago • 1 comments

          Could we have a base data class which always contains a token? I see that some objects have a token, some sid but never both. Maybe we could just call it `token` in general? Although that could lead to more confusion as well

Originally posted by @RokasEl in https://github.com/zincware/ZnDraw/pull/367#discussion_r1466423568

RokasEl avatar Jan 25 '24 14:01 RokasEl

Possibly we would also want a custom __contains__ method for the class

RokasEl avatar Jan 25 '24 14:01 RokasEl