ez_azml.cli.ez_azml.EzAzureMLCLI

class ez_azml.cli.ez_azml.EzAzureMLCLI(cloud_run: CloudRun | None = None, ml_client: MLClient | None = None, compute: AmlCompute | None = None)

Bases: object

CLI class.

Contains commands and interactions

Parameters:
  • cloud_run – object representing a cloud run

  • ml_client – client used for cloud interactions.

  • one (Will be injected on to the cloud_run if it's lacking) –

  • compute – cluster used to run the cloud_run.

  • one

__init__(cloud_run: CloudRun | None = None, ml_client: MLClient | None = None, compute: AmlCompute | None = None)

Methods

__init__([cloud_run, ml_client, compute])

register()

Registers the cloud run as a reusable component.

run()

Runs the cloud run.