ez_azml.cloud_runs.commands.docker_command.DockerCommandRun

class ez_azml.cloud_runs.commands.docker_command.DockerCommandRun(docker: DockerParams, **kwargs)

Bases: CommandRun

A Command that uses a docker image.

Parameters:

docker – docker params representing the image to use

__init__(docker: DockerParams, **kwargs) None

Methods

__init__(docker, **kwargs)

get_component(**kwargs)

Returns the mldesigner component.

on_register_end()

Hook called after a component has been registered.

on_register_start()

Hook called before a component has been registered.

on_run_end(output)

Hook called once run has been submitted.

on_run_start()

Hook called before run is submitted.

register([ml_client])

Registers the run as a reusable component.

run()

Submits and runs the job.

Attributes

cli_command

Actual cli command run on AzureML.

command

Runnable command.