jupyterlab-slurm
Version:
A JupyterLab extension to interface with the Slurm workload manager.
25 lines (24 loc) • 677 B
TypeScript
import { Component } from 'react';
declare namespace types {
type Props = {
show: boolean;
onHide: () => void;
submitJob: (input: string, inputType: string) => void;
error?: string;
disabled?: boolean;
};
type State = {
inputType: string;
filepath: string;
inlineScript: string;
};
}
export default class JobSubmitModal extends Component<types.Props, types.State> {
constructor(props: any);
changeInputType(inputType: string): void;
updateFilepath(filepath: any): void;
updateInlineScript(inlineScript: any): void;
handleSubmit(): void;
render(): JSX.Element;
}
export {};