Skip to content

Commit

Permalink
feat(models): introduce events
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Jan 10, 2025
1 parent c0ed284 commit 5d92b2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pfp_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
class Entity(BaseModel): ...


class Event(Entity):
label: str = None


class Person(Entity):
person: str = None
label: str = Field(..., example="Arthur Schnitzler")
Expand Down

0 comments on commit 5d92b2c

Please sign in to comment.