build(typing): Add stricter type hinting to LocalMessage’s feed and previous attribute
This commit is contained in:
parent
59c99097a2
commit
377368509e
@ -180,6 +180,9 @@ class Message:
|
|||||||
class LocalMessage(Message):
|
class LocalMessage(Message):
|
||||||
"""Class representing a local message"""
|
"""Class representing a local message"""
|
||||||
|
|
||||||
|
feed: LocalFeed
|
||||||
|
previous: "LocalMessage"
|
||||||
|
|
||||||
def __init__( # pylint: disable=too-many-arguments
|
def __init__( # pylint: disable=too-many-arguments
|
||||||
self,
|
self,
|
||||||
feed: LocalFeed,
|
feed: LocalFeed,
|
||||||
|
Loading…
Reference in New Issue
Block a user