Skip to content

Commit caded8e

Browse files
committed
Update notebook
1 parent 4e72a64 commit caded8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/marimo-example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import marimo
44

5-
__generated_with = "0.20.2"
5+
__generated_with = "0.20.4"
66
app = marimo.App(width="full", app_title="Neo4jVizExample")
77

88

@@ -88,7 +88,7 @@ def _(Node, Relationship, widget):
8888
import random
8989

9090
new_id = len(widget.nodes)
91-
target_id = random.choice([n["id"] for n in widget.nodes])
91+
target_id = random.choice([n.id for n in widget.nodes])
9292

9393
new_node = Node(id=new_id, size=10, caption="Person")
9494
new_rel = Relationship(source=new_id, target=target_id, caption="KNOWS")

0 commit comments

Comments
 (0)