Skip to main content

Engine.set_template_id

Engine.set_template_id(value)

Set the engine template id, changing the engine to the configuration specified.

Parameters:

   value: int
Template ID to set the engine to.

Returns:

   None

Examples:

Increase my engine size to a medium cpu engine (template ids vary per environment, see pc.template_id_map).

    engine = pc.get_engine('small_cpu_engine', activate=True)
engine.set_template_id(3)