Partition
Warning
This class is superseded by pyslurm.Partition and will be removed in a future release.
pyslurm.deprecated.partition
Slurm Partition Information.
create(Partition_dict)
method descriptor
delete(PartID)
method descriptor
find(name='', val='')
method descriptor
find_id(partID)
method descriptor
get()
method descriptor
Get all slurm partition information
Returns:
Type | Description |
---|---|
dict
|
Dictionary of dictionaries whose key is the partition name. |
ids()
method descriptor
Return the partition IDs from retrieved data.
Returns:
Type | Description |
---|---|
dict
|
Dictionary of partition IDs |
lastUpdate()
method descriptor
Return time (epoch seconds) the partition data was updated.
Returns:
Type | Description |
---|---|
int
|
Epoch seconds |
print_info_msg(oneLiner=0)
method descriptor
Display partition information from previous load partition method.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
oneLiner
|
int
|
Display on one line. |
0
|