[QUESTION] read Document propertie return PyDocumentObjectAdapter, why not Python dicionnary?

No, you shouldn't. Like Datasets, if you want to make an edit you should mutate a copy and write that copy back.

It's not safe to mutate the values of a "container" object you get from reading a tag. I think this applies to Document, Dataset, and array types. This is probably why that PyDocumentObjectAdapter class doesn't have any methods that let you mutate it.

1 Like