Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Execution inputs as container arguments for processing jobs #197

Open
@francescocamussoni

Description

I'm trying to use execution inputs as container arguements for my processing job:

execution_input = ExecutionInput(
 schema={
 "IngestaJobName": str,
 "PreprocessingJobName": str,
 "InferenceJobName": str,
 "Fecha": str,
 }
)
#Call step
ingesta_step = ProcessingStep(
 inference_config["ingesta_step_name"],
 processor=ingesta_processor,
 job_name=execution_input['IngestaJobName'],
 inputs=inputs_ingesta,
 outputs=outputs_ingesta,
 container_arguments=["--fecha", "$$.Execution.Input['Fecha']"],
 container_entrypoint=["python3", "/opt/ml/processing/input/code/"+inference_config["ingesta_function"]], 
)

I've also tried to replace container_arguments for ["--fecha", execution_input["Fecha"]]

But in both cases it doesn't work.

Use Case

When I lunch a new execution of my state machine, it would be useful to get some execution inputs as a container argument in order to define some parameters of intereset that will be define the behaviour of the step directly by the execution input without updating the state machine definition


This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /