Skip to content

Config

Warning

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

pyslurm.config

Slurm Config Information.

display_all() method descriptor

Print slurm control configuration information.

find_id(keyID=b'') method descriptor

Retrieve config ID data.

Parameters:

Name Type Description Default
keyID str

Config key string to search

b''

Returns:

Type Description
dict

Dictionary of values for given config key

get() method descriptor

Return the slurm control configuration information.

Returns:

Type Description
dict

Configuration data

ids() method descriptor

Return the config IDs from retrieved data.

Returns:

Type Description
dict

Dictionary of config key IDs

key_pairs() method descriptor

Return a dict of the slurm control data as key pairs.

Returns:

Type Description
dict

Dictionary of slurm key-pair values

lastUpdate() method descriptor

Get the time (epoch seconds) the retrieved data was updated.

Returns:

Type Description
int

Epoch seconds