From 377368509e3975843185b1d4dfa85a13e391156e Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 19 Nov 2023 07:30:31 +0100 Subject: [PATCH] =?UTF-8?q?build(typing):=20Add=20stricter=20type=20hintin?= =?UTF-8?q?g=20to=20LocalMessage=E2=80=99s=20feed=20and=20previous=20attri?= =?UTF-8?q?bute?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ssb/feed/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssb/feed/models.py b/ssb/feed/models.py index 56830c2..2ad3ce3 100644 --- a/ssb/feed/models.py +++ b/ssb/feed/models.py @@ -180,6 +180,9 @@ class Message: class LocalMessage(Message): """Class representing a local message""" + feed: LocalFeed + previous: "LocalMessage" + def __init__( # pylint: disable=too-many-arguments self, feed: LocalFeed,