MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / Event

Class Event

examples/basic_comments.py:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class 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
25async def run():

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…