Slurm connector

Installation

To install the Slurm connector, run the following command:

$ pip install flytekitplugins-slurm

Example usage

For an example query, see Slurm connector example usage

Local testing

To test the Slurm connector locally, create a class for the connector task that inherits from AsyncConnectorExecutorMixin. This mixin can handle asynchronous tasks and allows the SDK to mimic the system’s behavior in calling the connector.

For more information, see Testing connectors locally.

In some cases, you will need to store credentials in your local environment when testing locally.