Spaces:
Runtime error
Runtime error
Update app.py
Browse files191 unmodified lines1921931941951951961971981991992002012028 unmodified lines211212213214214215216216217218191 unmodified lines# Predefined dictionaries of streams to updatestreams = { "2B_100": { "stream": "https://speckle.xyz/streams/287b605243", "stream": "287b605243", "notionDB": '402d60c9c1ef4980a3d85c5a4f4a0c97' }, "2B_U100": { "stream": "https://speckle.xyz/streams/ebcfc50abe", "stream": "ebcfc50abe", "notionDB": '00c3a26a119f487fa028c1ed404f22ba' }}8 unmodified lines print("not", notion_token) print("spec", speckle_token) for key, value in streams.items(): stream_url = value["stream"] stream_id = value["stream"] notion_db = value["notionDB"] stream_id = stream_url.split('/')[-1]
branch_data = extract_branch_info(stream_id, server_url="https://speckle.xyz/", token=speckle_token) sync_to_notion(notion_token, notion_db, branch_data)app.py+3-4