1
Fork 0
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:
Steffo 2020-08-05 01:58:20 +02:00
parent b9c99f38eb
commit be0d49f474

View file

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