You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ttl | datetime.timedelta | yes | 1h | Time-to-live for the session.
102
112
| 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.
103
113
| timeout | int | yes | None | Seconds to wait for the session to enter Ready state. If the time is exceeded, an error will be returned.
104
-
| tls_root_certs | bytes | yes | None | PEM-encoded root certificates used for verifying server certificate. If not specified, platform-specific default root certificates will be used.
105
-
| disable_server_verification | bool| yes | False| Set to True to disable server TLS certificate verification. Use with caution.
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
Retrieves an existing session with the given session name and database connection,
@@ -124,8 +123,7 @@ def get_or_create(
124
123
cloud_location (Optional[CloudLocation]): The cloud location. Required if the GDS session is for a self-managed database.
125
124
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.
126
125
neo4j_driver_config (Optional[dict[str, Any]]): Optional configuration for the Neo4j driver.
127
-
tls_root_certs (Optional[bytes]): Manually specify PEM-encoded root certificates used for verifying server certificate. If not specified, platform-specific default root certificates will be used.
128
-
disable_server_verification (bool): Set to True to disable server certificate verification. Use with caution.
126
+
arrow_client_options (Optional[dict[str, Any]]): Optional configuration for the Arrow Flight client.
0 commit comments