diff options
author | Andrew Godwin | 2022-12-11 12:37:28 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-12 11:56:49 -0700 |
commit | 20239b5cb7455d593680b17d2d80d2a4850c524d (patch) | |
tree | 1c5705837e17bca50920848d00bfcf1f7c2313af /api/schemas.py | |
parent | fc8a21fc5c6809ea115092eeec57e09e984cdd76 (diff) | |
download | takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.gz takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.bz2 takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.zip |
Basic post mutation
Diffstat (limited to 'api/schemas.py')
-rw-r--r-- | api/schemas.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/schemas.py b/api/schemas.py index a8f4e45..97b8169 100644 --- a/api/schemas.py +++ b/api/schemas.py @@ -160,3 +160,8 @@ class Relationship(Schema): domain_blocking: bool endorsed: bool note: str + + +class Context(Schema): + ancestors: list[Status] + descendants: list[Status] |