Reservation
Warning
This API is currently being completely reworked, and is subject to be removed in the future when a replacement is introduced
pyslurm.deprecated.reservation
Access/update/delete slurm reservation Information.
create(reservation_dict={})
method descriptor
delete(ResID)
method descriptor
find(name='', val='')
method descriptor
find_id(resID)
method descriptor
get()
method descriptor
Get slurm reservation information.
Returns:
Type | Description |
---|---|
dict
|
Data whose key is the Reservation ID |
ids()
method descriptor
Return a list of reservation IDs from retrieved data.
Returns:
Type | Description |
---|---|
dict
|
Dictionary of reservation IDs |
lastUpdate()
method descriptor
Get the time (epoch seconds) the reservation data was updated.
Returns:
Type | Description |
---|---|
int
|
epoch seconds |
print_reservation_info_msg(oneLiner=0)
method descriptor
Output information about all slurm reservations.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
oneLiner
|
int
|
Print reservation info in one-line |
0
|