File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,21 @@ sessions.list()
140
140
141
141
=== Deleting a GDS Session
142
142
143
- Use the `delete()` method to delete a GDS Session.
144
- This will terminate the session and stop any running costs from accumulating further.
143
+ Deleting a GDS Session will terminate the session and stop any running costs from accumulating further.
145
144
Deleting a session will not affect the configured Neo4j data source.
146
145
However, any data not written back to the Neo4j instance will be lost.
147
146
148
- .Deleting a GDS Session:
147
+ If you have an open connection to the session:
148
+
149
+ .Deleting a GDS Session via an open client connection:
150
+ [source, python, role=no-test]
151
+ ----
152
+ gds.delete()
153
+ ----
154
+
155
+ Use the `delete()` method to delete a GDS Session.
156
+
157
+ .Deleting a GDS Session via the GdsSessions object:
149
158
[source, python, role=no-test]
150
159
----
151
160
sessions.delete(session_name="my-new-session")
You can’t perform that action at this time.
0 commit comments