Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::PythonSpec.
Specification for running a Python application from source.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entrypoint_module
def entrypoint_module() -> ::String-
(::String) — Optional. The Python module to load as the entrypoint, specified as a
fully qualified module name. For example: path.to.agent.
If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
#entrypoint_module=
def entrypoint_module=(value) -> ::String-
value (::String) — Optional. The Python module to load as the entrypoint, specified as a
fully qualified module name. For example: path.to.agent.
If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
-
(::String) — Optional. The Python module to load as the entrypoint, specified as a
fully qualified module name. For example: path.to.agent.
If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
#entrypoint_object
def entrypoint_object() -> ::String-
(::String) — Optional. The name of the callable object within the
entrypoint_moduleto use as the application If not specified, defaults to "root_agent".
#entrypoint_object=
def entrypoint_object=(value) -> ::String-
value (::String) — Optional. The name of the callable object within the
entrypoint_moduleto use as the application If not specified, defaults to "root_agent".
-
(::String) — Optional. The name of the callable object within the
entrypoint_moduleto use as the application If not specified, defaults to "root_agent".
#requirements_file
def requirements_file() -> ::String- (::String) — Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
#requirements_file=
def requirements_file=(value) -> ::String- value (::String) — Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
- (::String) — Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
#version
def version() -> ::String- (::String) — Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
#version=
def version=(value) -> ::String- value (::String) — Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
- (::String) — Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.