TransformationImage¶
A reusable, versioned processor that transforms input files into indexed ODM entities.
Properties¶
| Name | Type | Description | Notes |
|---|---|---|---|
| default_memory_size | str | Default amount of memory granted to a job running this image (e.g. 512Mi), used when the job does not override it. | [optional] |
| default_volume_size | str | Default working-volume size granted to a job running this image (e.g. 30Gi), used when the job does not override it. | [optional] |
| description | str | Human-readable description of what the image does. | [optional] |
| input_formats | List[str] | File formats this image accepts as input. | [optional] |
| name | str | Unique name of the transformation image. | |
| output_formats | List[TransformationOutputFormat] | ODM entity types this image produces as output. | [optional] |
| version | str | Version of the transformation image. When omitted, the latest version is used. | [optional] [default to 'latest'] |
Example¶
from odm_api.models.transformation_image import TransformationImage
# TODO update the JSON string below
json = "{}"
# create an instance of TransformationImage from a JSON string
transformation_image_instance = TransformationImage.from_json(json)
# print the JSON string representation of the object
print(TransformationImage.to_json())
# convert the object into a dict
transformation_image_dict = transformation_image_instance.to_dict()
# create an instance of TransformationImage from a dict
transformation_image_from_dict = TransformationImage.from_dict(transformation_image_dict)