From 0f7a9bc3f33cc44136ee19d34b8ea98de7c73c71 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 14 Oct 2024 16:08:14 +0200 Subject: [PATCH] fixup! Issue #604/#644 add process_id to docs --- docs/cookbook/job_manager.rst | 2 ++ openeo/extra/job_management.py | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/cookbook/job_manager.rst b/docs/cookbook/job_manager.rst index 915cf18b5..58dd0f892 100644 --- a/docs/cookbook/job_manager.rst +++ b/docs/cookbook/job_manager.rst @@ -16,3 +16,5 @@ Multi Backend Job Manager .. autoclass:: openeo.extra.job_management.ParquetJobDatabase .. autoclass:: openeo.extra.job_management.UDPJobFactory + :members: + :special-members: __call__ diff --git a/openeo/extra/job_management.py b/openeo/extra/job_management.py index d277f058d..77073cf6f 100644 --- a/openeo/extra/job_management.py +++ b/openeo/extra/job_management.py @@ -1014,13 +1014,12 @@ def _get_process_definition(self, connection: Connection) -> Process: def start_job(self, row: pd.Series, connection: Connection, **_) -> BatchJob: """ - Implementation of the `start_job` callable interface for MultiBackendJobManager: - Create and start a job based on given dataframe row + Implementation of the ``start_job`` callable interface + of :py:meth:`MultiBackendJobManager.run_jobs` + to create a job based on given dataframe row :param row: The row in the pandas dataframe that stores the jobs state and other tracked data. :param connection: The connection to the backend. - - :return: The started job. """ process_definition = self._get_process_definition(connection=connection)