Skip to content

Commit

Permalink
FIX: Forgot to add file
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed Feb 26, 2024
1 parent 37d394c commit b4d07c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/slurminade/job_reference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import abc
from typing import Any, Dict, Optional

class JobReference(abc.ABC):
@abc.abstractmethod
def get_job_id(self) -> Optional[int]:
pass

@abc.abstractmethod
def get_exit_code(self) -> Optional[int]:
pass

@abc.abstractmethod
def get_info(self) -> Dict[str, Any]:
pass

0 comments on commit b4d07c6

Please sign in to comment.