camber.changa

The camber.changa.ChangaEngine handles workloads that use the ChaNGa framework based on Charm. It is a subclass of the CamberEngine and inherits many of the universal engine methods. This page documents only the overridden or added engine methods specific to the ChaNGa workflow.

Example

from camber.changa import ChangaEngine

engine = ChangaEngine(engine_size="XSMALL")
job = engine.create_job(command="echo $CHANGA_HOME")

# more changa workflow below

Methods

create_job

Creates a job using the ChangaEngine that runs the provided command.

Args

command: str
A string representing the command to be executed by the job.
tags: Optional[Union[str, List[str]]]
An optional parameter that can be a string or a list of strings to tag the job for easier identification and filtering.

Returns

CamberJob
An instance of the CamberJob class representing the created job.