Connection
pyslurm.db.Connection
A connection to the slurmdbd.
Attributes:
Name | Type | Description |
---|---|---|
is_open |
bool
|
Whether the connection is open or closed. |
close()
method descriptor
commit()
method descriptor
Commit recent changes.
open()
staticmethod
Open a new connection to the slurmdbd
Raises:
Type | Description |
---|---|
RPCError
|
When opening the connection fails |
Returns:
Type | Description |
---|---|
Connection
|
Connection to slurmdbd |
Examples:
rollback()
method descriptor
Rollback recent changes.