build(typing): Add stricter type hinting to LocalMessage’s feed and previous attribute

This commit is contained in:
Gergely Polonkai 2023-11-19 07:30:31 +01:00
parent 59c99097a2
commit 377368509e
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -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,