Skip to content

Commit 152d691

Browse files
committed
Fix list on create session block
1 parent a8485db commit 152d691

7 files changed

+35
-23
lines changed

doc/modules/ROOT/pages/tutorials/graph-analytics-serverless-self-managed.adoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version `1.15` or later.
3535

3636
[source, python, role=no-test]
3737
----
38-
%pip install "graphdatascience>=1.15a1"
38+
%pip install "graphdatascience>=1.15"
3939
----
4040

4141
== Aura API credentials
@@ -62,13 +62,16 @@ sessions = GdsSessions(api_credentials=AuraAPICredentials(client_id, client_secr
6262
== Creating a new session
6363

6464
A new session is created by calling `sessions.get++_++or++_++create()`
65-
with the following parameters: ++*++ A session name, which lets you
66-
reconnect to an existing session by calling `get++_++or++_++create`
67-
again. ++*++ The `DbmsConnectionInfo` containing the address, user name
68-
and password for an accessible self-manged Neo4j DBMS instance ++*++ The
69-
session memory. ++*++ The cloud location. ++*++ A time-to-live (TTL),
70-
which ensures that the session is automatically deleted after being
71-
unused for the set time, to avoid incurring costs.
65+
with the following parameters:
66+
67+
* A session name, which lets you reconnect to an existing session by
68+
calling `get++_++or++_++create` again.
69+
* The `DbmsConnectionInfo` containing the address, user name and
70+
password for an accessible self-manged Neo4j DBMS instance
71+
* The session memory.
72+
* The cloud location.
73+
* A time-to-live (TTL), which ensures that the session is automatically
74+
deleted after being unused for the set time, to avoid incurring costs.
7275

7376
See the API reference
7477
https://neo4j.com/docs/graph-data-science-client/current/api/sessions/gds_sessions/#graphdatascience.session.gds_sessions.GdsSessions.get_or_create[documentation]

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,13 @@ sessions = GdsSessions(api_credentials=AuraAPICredentials(client_id, client_secr
6161
== Creating a new session
6262

6363
A new session is created by calling `sessions.get++_++or++_++create()`
64-
with the following parameters: ++*++ A session name, which lets you
65-
reconnect to an existing session by calling `get++_++or++_++create`
66-
again. ++*++ The session memory. ++*++ The cloud location. ++*++ A
67-
time-to-live (TTL), which ensures that the session is automatically
64+
with the following parameters:
65+
66+
* A session name, which lets you reconnect to an existing session by
67+
calling `get++_++or++_++create` again.
68+
* The session memory.
69+
* The cloud location.
70+
* A time-to-live (TTL), which ensures that the session is automatically
6871
deleted after being unused for the set time, to avoid incurring costs.
6972

7073
See the API reference

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version `1.15` or later.
3535

3636
[source, python, role=no-test]
3737
----
38-
%pip install "graphdatascience>=1.15a1"
38+
%pip install "graphdatascience>=1.15"
3939
----
4040

4141
== Aura API credentials
@@ -62,13 +62,16 @@ sessions = GdsSessions(api_credentials=AuraAPICredentials(client_id, client_secr
6262
== Creating a new session
6363

6464
A new session is created by calling `sessions.get++_++or++_++create()`
65-
with the following parameters: ++*++ A session name, which lets you
66-
reconnect to an existing session by calling `get++_++or++_++create`
67-
again. ++*++ The `DbmsConnectionInfo` containing the address, user name
68-
and password to an AuraDB instance ++*++ The session memory. ++*++ The
69-
cloud location. ++*++ A time-to-live (TTL), which ensures that the
70-
session is automatically deleted after being unused for the set time, to
71-
avoid incurring costs.
65+
with the following parameters:
66+
67+
* A session name, which lets you reconnect to an existing session by
68+
calling `get++_++or++_++create` again.
69+
* The `DbmsConnectionInfo` containing the address, user name and
70+
password to an AuraDB instance
71+
* The session memory.
72+
* The cloud location.
73+
* A time-to-live (TTL), which ensures that the session is automatically
74+
deleted after being unused for the set time, to avoid incurring costs.
7275

7376
See the API reference
7477
https://neo4j.com/docs/graph-data-science-client/current/api/sessions/gds_sessions/#graphdatascience.session.gds_sessions.GdsSessions.get_or_create[documentation]

doc/modules/ROOT/partials/tutorial-list.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
* xref:tutorials/heterogeneous-node-classification-with-hashgnn.adoc[]
99
* xref:tutorials/kge-predict-transe-pyg-train.adoc[]
1010
* xref:tutorials/graph-analytics-serverless.adoc[]
11-
* xref:tutorials/graph-analytics-serverless-standalone.adoc[]
1211
* xref:tutorials/graph-analytics-serverless-self-managed.adoc[]
12+
* xref:tutorials/graph-analytics-serverless-standalone.adoc[]

examples/graph-analytics-serverless-self-managed.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"outputs": [],
5959
"source": [
60-
"%pip install \"graphdatascience>=1.15a1\""
60+
"%pip install \"graphdatascience>=1.15\""
6161
]
6262
},
6363
{
@@ -95,6 +95,7 @@
9595
"## Creating a new session\n",
9696
"\n",
9797
"A new session is created by calling `sessions.get_or_create()` with the following parameters:\n",
98+
"\n",
9899
"* A session name, which lets you reconnect to an existing session by calling `get_or_create` again.\n",
99100
"* The `DbmsConnectionInfo` containing the address, user name and password for an accessible self-manged Neo4j DBMS instance\n",
100101
"* The session memory. \n",

examples/graph-analytics-serverless-standalone.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"\n",
9898
"\n",
9999
"A new session is created by calling `sessions.get_or_create()` with the following parameters:\n",
100+
"\n",
100101
"* A session name, which lets you reconnect to an existing session by calling `get_or_create` again.\n",
101102
"* The session memory.\n",
102103
"* The cloud location.\n",

examples/graph-analytics-serverless.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"outputs": [],
5959
"source": [
60-
"%pip install \"graphdatascience>=1.15a1\""
60+
"%pip install \"graphdatascience>=1.15\""
6161
]
6262
},
6363
{
@@ -95,6 +95,7 @@
9595
"## Creating a new session\n",
9696
"\n",
9797
"A new session is created by calling `sessions.get_or_create()` with the following parameters:\n",
98+
"\n",
9899
"* A session name, which lets you reconnect to an existing session by calling `get_or_create` again.\n",
99100
"* The `DbmsConnectionInfo` containing the address, user name and password to an AuraDB instance\n",
100101
"* The session memory. \n",

0 commit comments

Comments
 (0)