mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Add a few type annotations
This commit is contained in:
parent
b9c99f38eb
commit
be0d49f474
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ class HeraldEvent:
|
|||
name = NotImplemented
|
||||
"""The event_name that will trigger this event."""
|
||||
|
||||
def __init__(self, serf, config):
|
||||
self.serf = serf
|
||||
def __init__(self, serf: "Serf", config):
|
||||
self.serf: "Serf" = serf
|
||||
self.config = config
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue