Skip to content

Commit

Permalink
Fix interface of AbstractJobProcessor to make process static
Browse files Browse the repository at this point in the history
  • Loading branch information
tdg5 committed Jan 8, 2024
1 parent 1304327 commit 1067b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qless/abstract/abstract_job_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def data_class(cls) -> Type[JD]:
return data_class
raise RuntimeError(f"Unable to determine data class for {cls}")

@classmethod
@staticmethod
@abstractmethod
def process(cls, job: AbstractJob) -> None: # pragma: no cover
def process(job: AbstractJob) -> None: # pragma: no cover
...

0 comments on commit 1067b5d

Please sign in to comment.