Hello Flyte community. I have a question about she...
# flyte-support
b
Hello Flyte community. I have a question about shell tasks. I would like to set the container_image in shell task dynamically
would this work or is there a better way? up until now I have used a string for container_image and that worked well. now depending on the workflow I would like to specify a different image
Copy code
test_task = ShellTask(
    name="test",
    debug=True,
    container_image=kwtypes(image_uri=str),
    script="""
    {inputs.command} >> {outputs.stdout} 2>> {outputs.stderr}
    """,
    inputs=kwtypes(command=str),
t
hi! have you tried
with_overrides
?
c
just following up on this. @boundless-lifeguard-61788, were you able to give this a try?
b
yes it seems to work with a quick test thank you