Skip to content

Commit 7a3acf9

Browse files
committed
docs: revert Runtime Profile terminology to Session Template
Follow-up to the sessionTemplate() method revert -- the remaining prose in the README and test docstrings/comments still said "Runtime Profile", which no longer matched the actual API surface.
1 parent 21f2444 commit 7a3acf9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pip uninstall google-cloud-managed-spark-connect
2020
## Setup
2121

2222
This client requires permissions to
23-
manage [Managed Spark Sessions and Runtime Profiles](https://cloud.google.com/dataproc-serverless/docs/concepts/iam).
23+
manage [Managed Spark Sessions and Session Templates](https://cloud.google.com/dataproc-serverless/docs/concepts/iam).
2424

2525
If you are running the client outside of Google Cloud, you need to provide
2626
authentication credentials. Set the `GOOGLE_APPLICATION_CREDENTIALS` environment

tests/integration/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def test_create_spark_session_with_session_template_and_user_provided_dataproc_c
332332
session_template_name,
333333
session_controller_client,
334334
):
335-
"""Test creating a Spark session with a Runtime Profile and user-provided Dataproc configuration."""
335+
"""Test creating a Spark session with a session template and user-provided Dataproc configuration."""
336336
dataproc_config = Session()
337337
dataproc_config.environment_config.execution_config.ttl = {"seconds": 64800}
338338
dataproc_config.session_template = session_template_name

tests/unit/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ def test_builder_pattern_session_template_and_labels(
21072107
.getOrCreate()
21082108
)
21092109

2110-
# Verify the session was created with the correct Runtime Profile and labels
2110+
# Verify the session was created with the correct session template and labels
21112111
create_session_request = mock_session_controller_client_instance.create_session.call_args[
21122112
0
21132113
][

0 commit comments

Comments
 (0)