Skip to content

Commit 1e713d1

Browse files
yifanyangcopybara-github
authored andcommitted
fix: Removing Python 3.9 support due to EOL
PiperOrigin-RevId: 907832466
1 parent b803f3f commit 1e713d1

1 file changed

Lines changed: 37 additions & 37 deletions

File tree

vertexai/_genai/types/common.py

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7576,40 +7576,40 @@ class ReasoningEngineSpecDeploymentSpecDict(TypedDict, total=False):
75767576

75777577

75787578
class ReasoningEngineSpecPackageSpec(_common.BaseModel):
7579-
"""User-provided package specification, containing pickled object and package requirements."""
7579+
"""User-provided package specification, containing pickled object and package requirements."""
75807580

7581-
dependency_files_gcs_uri: Optional[str] = Field(
7581+
dependency_files_gcs_uri: Optional[str] = Field(
75827582
default=None,
75837583
description="""Optional. The Cloud Storage URI of the dependency files in tar.gz format.""",
75847584
)
7585-
pickle_object_gcs_uri: Optional[str] = Field(
7585+
pickle_object_gcs_uri: Optional[str] = Field(
75867586
default=None,
75877587
description="""Optional. The Cloud Storage URI of the pickled python object.""",
75887588
)
7589-
python_version: Optional[str] = Field(
7590-
default=None,
7591-
description="""Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10.""",
7592-
)
7593-
requirements_gcs_uri: Optional[str] = Field(
7594-
default=None,
7595-
description="""Optional. The Cloud Storage URI of the `requirements.txt` file""",
7596-
)
7589+
python_version: Optional[str] = Field(
7590+
default=None,
7591+
description="""Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10.""",
7592+
)
7593+
requirements_gcs_uri: Optional[str] = Field(
7594+
default=None,
7595+
description="""Optional. The Cloud Storage URI of the `requirements.txt` file""",
7596+
)
75977597

75987598

75997599
class ReasoningEngineSpecPackageSpecDict(TypedDict, total=False):
7600-
"""User-provided package specification, containing pickled object and package requirements."""
7600+
"""User-provided package specification, containing pickled object and package requirements."""
76017601

7602-
dependency_files_gcs_uri: Optional[str]
7603-
"""Optional. The Cloud Storage URI of the dependency files in tar.gz format."""
7602+
dependency_files_gcs_uri: Optional[str]
7603+
"""Optional. The Cloud Storage URI of the dependency files in tar.gz format."""
76047604

7605-
pickle_object_gcs_uri: Optional[str]
7606-
"""Optional. The Cloud Storage URI of the pickled python object."""
7605+
pickle_object_gcs_uri: Optional[str]
7606+
"""Optional. The Cloud Storage URI of the pickled python object."""
76077607

7608-
python_version: Optional[str]
7609-
"""Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10."""
7608+
python_version: Optional[str]
7609+
"""Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10."""
76107610

7611-
requirements_gcs_uri: Optional[str]
7612-
"""Optional. The Cloud Storage URI of the `requirements.txt` file"""
7611+
requirements_gcs_uri: Optional[str]
7612+
"""Optional. The Cloud Storage URI of the `requirements.txt` file"""
76137613

76147614

76157615
ReasoningEngineSpecPackageSpecOrDict = Union[
@@ -7784,40 +7784,40 @@ class ReasoningEngineSpecSourceCodeSpecImageSpecDict(TypedDict, total=False):
77847784

77857785

77867786
class ReasoningEngineSpecSourceCodeSpecPythonSpec(_common.BaseModel):
7787-
"""Specification for running a Python application from source."""
7787+
"""Specification for running a Python application from source."""
77887788

7789-
entrypoint_module: Optional[str] = Field(
7789+
entrypoint_module: Optional[str] = Field(
77907790
default=None,
77917791
description="""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. This field should not be set if the source is `agent_config_source`.""",
77927792
)
7793-
entrypoint_object: Optional[str] = Field(
7793+
entrypoint_object: Optional[str] = Field(
77947794
default=None,
77957795
description="""Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". This field should not be set if the source is `agent_config_source`.""",
77967796
)
7797-
requirements_file: Optional[str] = Field(
7797+
requirements_file: Optional[str] = Field(
77987798
default=None,
77997799
description="""Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".""",
78007800
)
7801-
version: Optional[str] = Field(
7802-
default=None,
7803-
description="""Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.""",
7804-
)
7801+
version: Optional[str] = Field(
7802+
default=None,
7803+
description="""Optional. The version of Python to use. Support version includes 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.""",
7804+
)
78057805

78067806

78077807
class ReasoningEngineSpecSourceCodeSpecPythonSpecDict(TypedDict, total=False):
7808-
"""Specification for running a Python application from source."""
7808+
"""Specification for running a Python application from source."""
78097809

7810-
entrypoint_module: Optional[str]
7811-
"""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. This field should not be set if the source is `agent_config_source`."""
7810+
entrypoint_module: Optional[str]
7811+
"""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. This field should not be set if the source is `agent_config_source`."""
78127812

7813-
entrypoint_object: Optional[str]
7814-
"""Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". This field should not be set if the source is `agent_config_source`."""
7813+
entrypoint_object: Optional[str]
7814+
"""Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". This field should not be set if the source is `agent_config_source`."""
78157815

7816-
requirements_file: Optional[str]
7817-
"""Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt"."""
7816+
requirements_file: Optional[str]
7817+
"""Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt"."""
78187818

7819-
version: Optional[str]
7820-
"""Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10."""
7819+
version: Optional[str]
7820+
"""Optional. The version of Python to use. Support version includes 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10."""
78217821

78227822

78237823
ReasoningEngineSpecSourceCodeSpecPythonSpecOrDict = Union[

0 commit comments

Comments
 (0)