Input arguments to a job that builds a function.
Name | Type | Description | Notes |
---|---|---|---|
runtime_name | str | ||
runtime_version | str | A semantic version with exactly a `major`, `minor` and `patch` specifier. No `pre-release` or `build` identifiers are allowed. See https://semver.org | |
revision | str | The revision hash of the current (draft) function revision | |
storage_location | str | Location of the function assets. | |
image_name | str | Provided (or defaulted) image name to publish the function image. | |
args | Dict[str, str] | Parameters to the runtime configuration. |
from waylay.services.registry.models.build_args import BuildArgs
# TODO update the JSON string below
json = "{}"
# create an instance of BuildArgs from a JSON string
build_args_instance = BuildArgs.from_json(json)
# print the JSON string representation of the object
print BuildArgs.to_json()
# convert the object into a dict
build_args_dict = build_args_instance.to_dict()
# create an instance of BuildArgs from a dict
build_args_form_dict = build_args.from_dict(build_args_dict)