File tree Expand file tree Collapse file tree 6 files changed +5
-4
lines changed
api-server/src/simcore_service_api_server Expand file tree Collapse file tree 6 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2727
2828from ..._service_function_jobs import FunctionJobService
2929from ..._service_functions import FunctionService
30- from ...celery ._worker_tasks . _functions_tasks import run_function
30+ from ...celery .worker_tasks . functions_tasks import run_function as run_function_task
3131from ...models .pagination import Page , PaginationParams
3232from ...models .schemas .errors import ErrorGet
3333from ...models .schemas .jobs import JobPricingSpecification
@@ -351,7 +351,7 @@ async def run_function( # noqa: PLR0913
351351 client_name = ASYNC_JOB_CLIENT_NAME ,
352352 )
353353 task_filter = TaskFilter .model_validate (job_filter .model_dump ())
354- task_name = run_function .__name__
354+ task_name = run_function_task .__name__
355355
356356 task_uuid = await task_manager .submit_task (
357357 TaskMetadata (
Original file line number Diff line number Diff line change 1313
1414from ..core .application import create_app
1515from ..core .settings import ApplicationSettings
16- from ._worker_tasks .tasks import setup_worker_tasks
16+ from .worker_tasks .tasks import setup_worker_tasks
1717
1818
1919def app_factory ():
File renamed without changes.
Original file line number Diff line number Diff line change 1313from ...api .dependencies .authentication import Identity
1414from ...models .api_resources import JobLinks
1515from ...models .schemas .jobs import JobPricingSpecification
16- from ._functions_tasks import run_function
16+ from .functions_tasks import run_function
1717
1818_logger = logging .getLogger (__name__ )
1919
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ services:
3232 API_SERVER_LOG_FILTER_MAPPING : ${LOG_FILTER_MAPPING}
3333 API_SERVER_LOGLEVEL : ${API_SERVER_LOGLEVEL}
3434 API_SERVER_PROFILING : ${API_SERVER_PROFILING}
35+ API_SERVER_WORKER_MODE : " false"
3536
3637 CATALOG_HOST : ${CATALOG_HOST}
3738 CATALOG_PORT : ${CATALOG_PORT}
You canβt perform that action at this time.
0 commit comments