Class PythonPackageSpec (0.4.0)

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

The spec of a Python packaged code.

Attributes

Name Description
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.

Inheritance

builtins.object > proto.message.Message > PythonPackageSpec