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
|
name = NotImplemented
|
||||||
"""The event_name that will trigger this event."""
|
"""The event_name that will trigger this event."""
|
||||||
|
|
||||||
def __init__(self, serf, config):
|
def __init__(self, serf: "Serf", config):
|
||||||
self.serf = serf
|
self.serf: "Serf" = serf
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue