Skip to content

Commit 902bc3a

Browse files
committed
types
1 parent 62fad7d commit 902bc3a

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
@@ -542,7 +542,7 @@ def _launch_pending_jobs(self, job_db: JobDatabaseInterface, start_job: Callable
542542
jobs_to_add = self._get_jobs_to_launch(not_started, per_backend)
543543
self._run_job_threads(jobs_to_add, start_job, not_started, stats, job_db)
544544

545-
def _get_jobs_to_launch(self, not_started, per_backend):
545+
def _get_jobs_to_launch(self, not_started: pd.DataFrame, per_backend: dict) -> List[Tuple[int, str]]:
546546
"""Determines which jobs to launch based on backend availability."""
547547
jobs_to_add = []
548548
total_added = 0
@@ -605,7 +605,7 @@ def job_worker():
605605
thread.join()
606606

607607

608-
def _handle_completed_jobs(self,stats):
608+
def _handle_completed_jobs(self, stats):
609609
"""Processes completed, canceled, and errored jobs."""
610610
#TODO downloading will be a blocker, run in seperate threads
611611
for job, row in self.jobs_done:

0 commit comments

Comments
 (0)