pyslurmutils.client.rest.api.slurm_access#

Functions

create_version(version)

Create a version string from a tuple of integers.

parse_version(version)

Parse a version string into a tuple of integers.

slurm_request(method, base_url, path[, headers])

Sends an HTTP request and JSON decode the request.

validated_slurm_request(method, base_url, path)

Sends an HTTP request and convert the response to the appropriate Pydantic model.