Skip to content

Commit

Permalink
fixup! Add CADET meta information to Runner classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ronald-jaepel committed Aug 20, 2024
1 parent 26e19e9 commit c597a0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cadet/cadet_dll.py
Original file line number Diff line number Diff line change
Expand Up @@ -2115,5 +2115,5 @@ def cadet_commit_hash(self) -> str:
return self._cadet_commit_hash

@property
def cadet_path(self) -> str | os.PathLike:
def cadet_path(self) -> os.PathLike:
return self._cadet_path
5 changes: 2 additions & 3 deletions cadet/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class CadetRunnerBase(ABC):
Subclasses must implement the `run`, `clear`, and `load_results` methods.
"""
cadet_path: Optional[pathlib.Path] = None

@abstractmethod
def run(
Expand Down Expand Up @@ -99,7 +98,7 @@ def cadet_commit_hash(self) -> str:

@property
@abstractmethod
def cadet_path(self) -> str:
def cadet_path(self) -> Optional[os.PathLike]:
pass


Expand Down Expand Up @@ -254,5 +253,5 @@ def cadet_commit_hash(self) -> str:
return self._cadet_commit_hash

@property
def cadet_path(self) -> str | os.PathLike:
def cadet_path(self) -> os.PathLike:
return self._cadet_path

0 comments on commit c597a0e

Please sign in to comment.