in cli/src/klio_cli/commands/job/run.py [0:0]
def _get_command(self):
command = ["run"]
if self.docker_runtime_config.image_tag:
command.extend(
["--image-tag", self.docker_runtime_config.image_tag]
)
if self.run_job_config.direct_runner:
command.append("--direct-runner")
if self.run_job_config.update is True:
command.append("--update")
elif (
self.run_job_config.update is False
): # don't do anything if `None`
command.append("--no-update")
return command