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

**URL:** <https://forum.inductiveautomation.com/t/question-read-document-propertie-return-pydocumentobjectadapter-why-not-python-dicionnary/25976>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [June 20, 2019, 10:50am UTC](https://forum.inductiveautomation.com/t/question-read-document-propertie-return-pydocumentobjectadapter-why-not-python-dicionnary/25976 "2019-06-20T10:50:32Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 17, 2021, 2:12pm UTC](https://forum.inductiveautomation.com/t/question-read-document-propertie-return-pydocumentobjectadapter-why-not-python-dicionnary/25976/8 "2021-11-17T14:12:00Z")

</div>

> [@pascal.fragnoud](#):
>
> Did I miss something ? Shouldn’t I edit document values ?

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.

---

_[View the full topic](https://forum.inductiveautomation.com/t/question-read-document-propertie-return-pydocumentobjectadapter-why-not-python-dicionnary/25976)._
