Class PythonPackageSpec (0.5.1)

PythonPackageSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec of a Python packaged code.

Attributes

NameDescription
executor_image_uri str
Required. The URI of a container image in the Container Registry that will run the provided python package. AI Platform provides wide range of executor images with pre-installed packages to meet users' various use cases. Only one of the provided images can be set here.
package_uris Sequence[str]
Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.
python_module str
Required. The Python module name to run after installing the packages.
args Sequence[str]
Command line arguments to be passed to the Python task.
env Sequence[google.cloud.aiplatform_v1.types.EnvVar]
Environment variables to be passed to the python module.

Inheritance

builtins.object > proto.message.Message > PythonPackageSpec