Team that is a playing
| 230 | |
| 231 | |
| 232 | class Team(Model): |
| 233 | """ |
| 234 | Team that is a playing |
| 235 | """ |
| 236 | |
| 237 | id = fields.IntField(primary_key=True) |
| 238 | name = fields.TextField() |
| 239 | |
| 240 | events: fields.ManyToManyRelation[Event] |
| 241 | minrelation_through: fields.ManyToManyRelation["MinRelation"] |
| 242 | alias = fields.IntField(null=True) |
| 243 | |
| 244 | class Meta: |
| 245 | ordering = ["id"] |
| 246 | |
| 247 | class PydanticMeta: |
| 248 | exclude = ("minrelations",) |
| 249 | |
| 250 | def __str__(self): |
| 251 | return self.name |
| 252 | |
| 253 | |
| 254 | class EventTwo(Model): |
no outgoing calls
searching dependent graphs…