Objectify the AUTHOR_ATTRIBUTE attribute.
(self, attribute: str, value: Any)
| 320 | STR_FIELD = "id" |
| 321 | |
| 322 | def __setattr__(self, attribute: str, value: Any) -> None: |
| 323 | """Objectify the AUTHOR_ATTRIBUTE attribute.""" |
| 324 | if attribute == self.AUTHOR_ATTRIBUTE: |
| 325 | value = self._reddit._objector.objectify(data=value) |
| 326 | super().__setattr__(attribute, value) |
| 327 | |
| 328 | |
| 329 | class ModmailAction(ModmailObject): |