Skip to content

Cluster

Warning

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

pyslurm.slurmdb_clusters

Access Slurmdbd Clusters information.

get() method descriptor

Get slurm clusters information.

Returns:

Type Description
dict

Dictionary whose keys are the clusters ids

set_cluster_condition(start_time, end_time) method descriptor

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

Parameters:

Name Type Description Default
start_time int

Select clusters that existed after this unix timestamp

required
end_time int

Select clusters that existed before this unix timestamp

required