Skip to content

Commit

Permalink
Added setters to plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
thekoc committed May 2, 2023
1 parent 577473a commit dc49a50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pydt3/models/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc49a50

Please sign in to comment.