Detaching objects in dict attributes in Python

Hey @Rob

we had a quick chat about what you are proposing. The current behavior is consistent across our SDKs and the behavior is deliberate.

We’re not supporting detaching within dictionaries. Detaching is a Base model behavior its not a “Speckle” behavior.

We’ve designed the Base object to achieve these sort of object schema definitions features. In some sense Base objects are glorified wrappers on top of dictionaries, so I’d highly encourage you to define a subclass of Base for this usecase.

Let me know if you have more questions around this.

3 Likes