Class PythonPackageSpec (1.29.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 Artifact Registry that will run the provided Python package. Vertex AI provides a wide range of executor images with pre-installed packages to meet users' various use cases. See the list of `pre-built containers for training
package_uris
MutableSequence[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
MutableSequence[str]
Command line arguments to be passed to the Python task.
env
MutableSequence[ google.cloud.aiplatform_v1beta1.types.EnvVar ]
Environment variables to be passed to the python module. Maximum limit is 100.