Skip to content

RenderableTask

Source code in docs_src/capo_sagemaker/types/renderable_task.py
class RenderableTask(TypedDict, closed=True):
    input: NotRequired["capo_sagemaker.types.task_input.TaskInput"]
    """<p>A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable <code>task.input</code>. For example, if you define a variable <code>task.input.text</code> in your template, you can supply the variable in the JSON object as <code>"text": "sample text"</code>.</p>"""

input instance-attribute

input: NotRequired[TaskInput]

A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable task.input. For example, if you define a variable task.input.text in your template, you can supply the variable in the JSON object as "text": "sample text".