Skip to content

Commit f27e55e

Browse files
DarthMaxFlorentinD
andauthored
Apply suggestions from code review
Co-authored-by: Florentin Dörre <florentin@owitsch.de>
1 parent 6345a29 commit f27e55e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/modules/ROOT/pages/graph-analytics-serverless.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ sessions.get_or_create(
111111
| ttl | datetime.timedelta | yes | 1h | Time-to-live for the session.
112112
| cloud_location | https://neo4j.com/docs/graph-data-science-client/{docs-version}/api/sessions/cloud_location[CloudLocation] | yes | None | Aura-supported cloud provider and region where the GDS Session will run. Required for the Self-managed and Standalone types.
113113
| timeout | int | yes | None | Seconds to wait for the session to enter Ready state. If the time is exceeded, an error will be returned.
114-
| neo4j_driver_options | dict[str, any] | yes | None | Additional options passed to the Neo4j driver
115-
| arrow_client_options | dict[str, any] | yes | None | Additional options passed to the Arrow Flight Client
114+
| neo4j_driver_options | dict[str, any] | yes | None | Additional options passed to the Neo4j driver to the Neo4j DBMS. Only relevant if `db_connection` is specified.
115+
| arrow_client_options | dict[str, any] | yes | None | Additional options passed to the Arrow Flight Client used to connect to the Session.
116116
|===
117117

118118

graphdatascience/session/gds_sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_or_create(
122122
ttl: (Optional[timedelta]): The sessions time to live after inactivity in seconds.
123123
cloud_location (Optional[CloudLocation]): The cloud location. Required if the GDS session is for a self-managed database.
124124
timeout (Optional[int]): Optional timeout (in seconds) when waiting for session to become ready. If unset the method will wait forever. If set and session does not become ready an exception will be raised. It is user responsibility to ensure resource gets cleaned up in this situation.
125-
neo4j_driver_config (Optional[dict[str, Any]]): Optional configuration for the Neo4j driver.
125+
neo4j_driver_config (Optional[dict[str, Any]]): Optional configuration for the Neo4j driver to the Neo4j DBMS. Only relevant if `db_connection` is specified..
126126
arrow_client_options (Optional[dict[str, Any]]): Optional configuration for the Arrow Flight client.
127127
Returns:
128128
AuraGraphDataScience: The session.

0 commit comments

Comments
 (0)