| 8 | |
| 9 | |
| 10 | class Event(Model): |
| 11 | id = fields.IntField(primary_key=True) |
| 12 | name = fields.TextField(description="Name of the event that corresponds to an action") |
| 13 | datetime = fields.DatetimeField( |
| 14 | null=True, description="Datetime of when the event was generated" |
| 15 | ) |
| 16 | |
| 17 | class Meta: |
| 18 | table = "event" |
| 19 | table_description = "This table contains a list of all the example events" |
| 20 | |
| 21 | def __str__(self): |
| 22 | return self.name |
| 23 | |
| 24 | |
| 25 | async def run(): |
no outgoing calls
no test coverage detected
searching dependent graphs…