Pārlūkot izejas kodu

Fixed a naming inconsistency in the ActivePeriod object

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen 4 gadi atpakaļ
vecāks
revīzija
bad87bc52e
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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