Skip to content

Commit 9f88e83

Browse files
yifanyangcopybara-github
authored andcommitted
fix:Removing Python 3.9 support due to EOL
PiperOrigin-RevId: 907832466
1 parent 68f053e commit 9f88e83

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
@@ -7596,40 +7596,40 @@ class ReasoningEngineSpecDeploymentSpecDict(TypedDict, total=False):
75967596

75977597

75987598
class ReasoningEngineSpecPackageSpec(_common.BaseModel):
7599-
"""User-provided package specification, containing pickled object and package requirements."""
7599+
"""User-provided package specification, containing pickled object and package requirements."""
76007600

7601-
dependency_files_gcs_uri: Optional[str] = Field(
7601+
dependency_files_gcs_uri: Optional[str] = Field(
76027602
default=None,
76037603
description="""Optional. The Cloud Storage URI of the dependency files in tar.gz format.""",
76047604
)
7605-
pickle_object_gcs_uri: Optional[str] = Field(
7605+
pickle_object_gcs_uri: Optional[str] = Field(
76067606
default=None,
76077607
description="""Optional. The Cloud Storage URI of the pickled python object.""",
76087608
)
7609-
python_version: Optional[str] = Field(
7610-
default=None,
7611-
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.""",
7612-
)
7613-
requirements_gcs_uri: Optional[str] = Field(
7614-
default=None,
7615-
description="""Optional. The Cloud Storage URI of the `requirements.txt` file""",
7616-
)
7609+
python_version: Optional[str] = Field(
7610+
default=None,
7611+
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.""",
7612+
)
7613+
requirements_gcs_uri: Optional[str] = Field(
7614+
default=None,
7615+
description="""Optional. The Cloud Storage URI of the `requirements.txt` file""",
7616+
)
76177617

76187618

76197619
class ReasoningEngineSpecPackageSpecDict(TypedDict, total=False):
7620-
"""User-provided package specification, containing pickled object and package requirements."""
7620+
"""User-provided package specification, containing pickled object and package requirements."""
76217621

7622-
dependency_files_gcs_uri: Optional[str]
7623-
"""Optional. The Cloud Storage URI of the dependency files in tar.gz format."""
7622+
dependency_files_gcs_uri: Optional[str]
7623+
"""Optional. The Cloud Storage URI of the dependency files in tar.gz format."""
76247624

7625-
pickle_object_gcs_uri: Optional[str]
7626-
"""Optional. The Cloud Storage URI of the pickled python object."""
7625+
pickle_object_gcs_uri: Optional[str]
7626+
"""Optional. The Cloud Storage URI of the pickled python object."""
76277627

7628-
python_version: Optional[str]
7629-
"""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."""
7628+
python_version: Optional[str]
7629+
"""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."""
76307630

7631-
requirements_gcs_uri: Optional[str]
7632-
"""Optional. The Cloud Storage URI of the `requirements.txt` file"""
7631+
requirements_gcs_uri: Optional[str]
7632+
"""Optional. The Cloud Storage URI of the `requirements.txt` file"""
76337633

76347634

76357635
ReasoningEngineSpecPackageSpecOrDict = Union[
@@ -7804,40 +7804,40 @@ class ReasoningEngineSpecSourceCodeSpecImageSpecDict(TypedDict, total=False):
78047804

78057805

78067806
class ReasoningEngineSpecSourceCodeSpecPythonSpec(_common.BaseModel):
7807-
"""Specification for running a Python application from source."""
7807+
"""Specification for running a Python application from source."""
78087808

7809-
entrypoint_module: Optional[str] = Field(
7809+
entrypoint_module: Optional[str] = Field(
78107810
default=None,
78117811
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`.""",
78127812
)
7813-
entrypoint_object: Optional[str] = Field(
7813+
entrypoint_object: Optional[str] = Field(
78147814
default=None,
78157815
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`.""",
78167816
)
7817-
requirements_file: Optional[str] = Field(
7817+
requirements_file: Optional[str] = Field(
78187818
default=None,
78197819
description="""Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".""",
78207820
)
7821-
version: Optional[str] = Field(
7822-
default=None,
7823-
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.""",
7824-
)
7821+
version: Optional[str] = Field(
7822+
default=None,
7823+
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.""",
7824+
)
78257825

78267826

78277827
class ReasoningEngineSpecSourceCodeSpecPythonSpecDict(TypedDict, total=False):
7828-
"""Specification for running a Python application from source."""
7828+
"""Specification for running a Python application from source."""
78297829

7830-
entrypoint_module: Optional[str]
7831-
"""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`."""
7830+
entrypoint_module: Optional[str]
7831+
"""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`."""
78327832

7833-
entrypoint_object: Optional[str]
7834-
"""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`."""
7833+
entrypoint_object: Optional[str]
7834+
"""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`."""
78357835

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

7839-
version: Optional[str]
7840-
"""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."""
7839+
version: Optional[str]
7840+
"""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."""
78417841

78427842

78437843
ReasoningEngineSpecSourceCodeSpecPythonSpecOrDict = Union[

0 commit comments

Comments
 (0)