(self, data, encoding_args)
| 27 | # This is the same for both edit and display. |
| 28 | class EncodingMixin: |
| 29 | def __init__(self, data, encoding_args): |
| 30 | self.encoding_args = encoding_args |
| 31 | super().__init__(str(data).encode(*self.encoding_args)) # type: ignore |
| 32 | |
| 33 | def get_data(self): |
| 34 | data = super().get_data() # type: ignore |