From dc49a50b57c65874ecc1573a65cfc430c849d4f1 Mon Sep 17 00:00:00 2001 From: thekoc Date: Tue, 2 May 2023 20:19:11 +0800 Subject: [PATCH] Added setters to plain text --- pydt3/models/record.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pydt3/models/record.py b/pydt3/models/record.py index 41e2894..23a12a9 100644 --- a/pydt3/models/record.py +++ b/pydt3/models/record.py @@ -470,6 +470,10 @@ def pending(self) -> bool: def plain_text(self) -> str: """The plain text of a record.""" return self.get_property_native('plainText') + + @plain_text.setter + def plain_text(self, value: str): + self.set_property('plainText', value) @property def proposed_filename(self) -> str: