Skip to content

Reservation

Warning

This API is currently being completely reworked, and is subject to be removed in the future when a replacement is introduced

pyslurm.slurmdb_reservations

Access Slurmdbd reservations information.

get() method descriptor

Get slurm reservations information.

Returns:

Type Description
dict

Dictionary whose keys are the reservations ids

set_reservation_condition(start_time, end_time) method descriptor

Limit the next get() call to reservations that start after and before a certain time.

Parameters:

Name Type Description Default
start_time int

Select reservations that start after this unix timestamp

required
end_time int

Select reservations that end before this unix timestamp

required