(self, *args, **kwargs)
| 70 | |
| 71 | class Event(BBOTBaseModel, table=True): |
| 72 | def __init__(self, *args, **kwargs): |
| 73 | super().__init__(*args, **kwargs) |
| 74 | data = self._get_data(self.data, self.type) |
| 75 | self.data = {self.type: data} |
| 76 | if self.host: |
| 77 | self.reverse_host = self.host[::-1] |
| 78 | |
| 79 | def get_data(self): |
| 80 | return self._get_data(self.data, self.type) |