File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,17 @@ cdef class Reservation:
110110 start_time (int):
111111 When the Reservation starts. This is a Unix timestamp.
112112 duration (int):
113- How long, in minutes, the reservation runs for.
113+ How long, in minutes, the reservation runs for. Unless a
114+ `start_time` has already been specified, setting this will set the
115+ `start_time` the current time, meaning the Reservation will start
116+ immediately.
117+
118+ For setting this attribute, instead of minutes you can also specify
119+ a time-string like this:
120+
121+ duration = "1-00:00:00"
122+
123+ The above means that the Reservation will last for 1 day.
114124 is_active (bool):
115125 Whether the reservation is currently active or not.
116126 tres (dict[str, int]):
You can’t perform that action at this time.
0 commit comments