Skip to content

Commit

Permalink
81: Fix change of type for workflow_config/params_dict.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfse-slafleur committed Nov 14, 2024
1 parent 00f0ba8 commit b60e773
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grow_worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from typing import cast

from omotes_sdk.internal.worker.worker import initialize_worker, UpdateProgressHandler
from omotes_sdk.types import ParamsDict
from omotes_sdk.types import ProtobufDict
from mesido.esdl.esdl_parser import ESDLStringParser
from mesido.esdl.profile_parser import InfluxDBProfileReader

Expand Down Expand Up @@ -113,7 +113,7 @@ def kill_pool(pool: multiprocessing.pool.Pool) -> None:


def grow_worker_task(
input_esdl: str, params_dict: ParamsDict, update_progress_handler: UpdateProgressHandler
input_esdl: str, workflow_config: ProtobufDict, update_progress_handler: UpdateProgressHandler
) -> str:
"""Run the grow worker task and run configured specific problem type for this worker instance.
Expand All @@ -123,7 +123,7 @@ def grow_worker_task(
in this task by the subprocess.
:param input_esdl: The input ESDL XML string.
:param params_dict: Extra parameters to configure this run.
:param workflow_config: Extra parameters to configure this run.
:param update_progress_handler: Handler to notify of any progress changes.
:return: GROW optimized or simulated ESDL
"""
Expand Down

0 comments on commit b60e773

Please sign in to comment.