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
Copy file name to clipboardExpand all lines: changelog.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@
4
4
5
5
## New features
6
6
7
+
-`sessions.get_or_create()` now supports passing in a manual selection of root certificates for verifying server certificate
8
+
-`sessions.get_or_create()` now supports disabling server certificate verification
9
+
10
+
7
11
## Bug fixes
8
12
9
13
- Fix reporting error based on http responses from the Aura-API with an invalid JSON body. Earlier the client would report JSONDecodeError instead of showing the actual issue.
Retrieves an existing session with the given session name and database connection,
@@ -122,6 +124,8 @@ def get_or_create(
122
124
cloud_location (Optional[CloudLocation]): The cloud location. Required if the GDS session is for a self-managed database.
123
125
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.
124
126
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.
0 commit comments