Explorar o código

Fixed a naming inconsistency in the ActivePeriod object

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen %!s(int64=4) %!d(string=hai) anos
pai
achega
bad87bc52e
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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