2222# cython: c_string_type=unicode, c_string_encoding=default
2323# cython: language_level=3
2424
25+ from typing import Union, Any
2526from pyslurm.utils import cstr
2627from pyslurm.utils import ctime
2728from pyslurm.utils.uint import u32_parse
@@ -87,7 +88,7 @@ cdef class Reservations(MultiClusterMap):
8788 # reason a MemoryError is raised after parsing subsequent
8889 # reservations, invalid behaviour will be shown by Valgrind, since
8990 # the Memory for the already parsed Reservation will be freed
90- # twice. So for all sucessfully parsed Reservations, replace it
91+ # twice. So for all successfully parsed Reservations, replace it
9192 # with a dummy struct that will be skipped in case of error.
9293 reservations.info.reservation_array[cnt] = reservations.tmp_info
9394
@@ -218,7 +219,7 @@ cdef class Reservation:
218219 def create (self ):
219220 """ Create a Reservation.
220221
221- If you did not specify atleast a `start_time` and `duration` or
222+ If you did not specify at least a `start_time` and `duration` or
222223 `end_time`, then by default the Reservation will start effective
223224 immediately, with a duration of one year.
224225
@@ -245,7 +246,7 @@ cdef class Reservation:
245246 cdef char * new_name = NULL
246247
247248 if not self .start_time or not (self .duration and self .end_time):
248- raise RPCError(msg = " You must atleast specify a start_time, "
249+ raise RPCError(msg = " You must at least specify a start_time, "
249250 " combined with an end_time or a duration." )
250251
251252 self .name = self ._error_or_name()
0 commit comments