print logbooks; added note on making url configurable

This commit is contained in:
2021-06-01 12:51:38 +02:00
parent f2aa686aa8
commit fff194c024

View File

@ -20,11 +20,13 @@ from scilog import Basesnippet, Paragraph
tmp = Basesnippet()
tmp.id = "2"
# url = "https://lnode2.psi.ch/api/v1"
url = "http://[::1]:3000/"
#TODO make this selectable
url = "https://lnode2.psi.ch/api/v1"
#url = "http://[::1]:3000/"
log = SciLog(url)
#print(log.token)
logbooks = log.get_logbooks(ownerGroup=pgroup)
print(logbooks)
assert len(logbooks) == 1
logbook = logbooks[0]