瀏覽代碼

Fixed a naming inconsistency in the ActivePeriod object

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen 4 年之前
父節點
當前提交
bad87bc52e
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      openleadr/objects.py

+ 3 - 3
openleadr/objects.py

@@ -117,9 +117,9 @@ class ActivePeriod:
     dtstart: datetime
     duration: timedelta
     tolerance: dict = None
-    notification: dict = None
-    ramp_up: dict = None
-    recovery: dict = None
+    notification_period: dict = None
+    ramp_up_period: dict = None
+    recovery_period: dict = None
 
 
 @dataclass