Skip to content

Commit 61df4a2

Browse files
committed
clean-up
1 parent fb907ed commit 61df4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openeo/extra/job_management/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def _launch_pending_jobs(self, job_db: JobDatabaseInterface, start_job: Callable
540540
jobs_to_add = self._get_jobs_to_launch(not_started, per_backend)
541541
self._run_job_threads(jobs_to_add, start_job, not_started, stats, job_db)
542542

543-
def _get_jobs_to_launch(self, not_started: pd.DataFrame, per_backend: Dict[str, int]) -> list[tuple[Any, str]]:
543+
def _get_jobs_to_launch(self, not_started: Any, per_backend: Dict[str, int]) -> list[tuple[Any, str]]:
544544
"""Determines which jobs to launch based on backend availability."""
545545
jobs_to_add = []
546546
total_added = 0
@@ -558,7 +558,7 @@ def _get_jobs_to_launch(self, not_started: pd.DataFrame, per_backend: Dict[str,
558558

559559
return jobs_to_add
560560

561-
def _run_job_threads(self, jobs_to_add: list[tuple[Any, str]], start_job: Callable[[], 'BatchJob'], not_started: pd.DataFrame, stats: Dict[str, int], job_db: 'JobDatabaseInterface') -> None:
561+
def _run_job_threads(self, jobs_to_add: list[tuple[Any, str]], start_job: Callable[[], 'BatchJob'], not_started: Any, stats: Dict[str, int], job_db: 'JobDatabaseInterface') -> None:
562562
"""Manages threading for job launching."""
563563
semaphore = Semaphore(self._max_concurrent_job_launch)
564564
threads = []

0 commit comments

Comments
 (0)