@@ -13,13 +13,17 @@ import numpy as np
13
13
userLabel = " guest@navability.io"
14
14
robotLabel = " TestRobot"
15
15
sessionLabel = " TestHex"
16
- fgclient = DFGClient(userLabel, robotLabel, sessionLabel)
16
+
17
+ # for private (non-guest) use, get a token after login at app.navability.io, Connect page.
18
+ auth_token = ' '
19
+
20
+ fgclient = DFGClient(userLabel, robotLabel, sessionLabel, auth_token = auth_token)
17
21
18
22
variables = listVariables(fgclient)
19
23
# variables = await listVariablesAsync(fgclient)
20
24
21
25
# get one of the variables from the graph
22
- x1 = getVariable(fgclient, ' xl ' )
26
+ x1 = getVariable(fgclient, ' x1 ' )
23
27
# xl1 = await getVariableAsync(fgclient, 'x1')
24
28
print (' The tags on this variable are' , x1.tags)
25
29
@@ -32,7 +36,7 @@ entry = getBlobEntry(fgclient, "x1", be_labels[0])
32
36
33
37
# # fetch binary data blob from one of the blobstores
34
38
store = NavAbilityBlobStore(fgclient.client, userLabel)
35
- blob = getBlob(store, entry.blobId)
39
+ blob = getBlob(store, str ( entry.blobId) )
36
40
# blob = await getBlobAsync(store, entry.id)
37
41
38
42
# # which neighbors does this variable have
0 commit comments