Spaces:
Build error
Build error
Update app.py
Browse files40 unmodified lines4142434445464744454647168 unmodified lines21621721822222321922022122222340 unmodified lines if server_url and token: client = SpeckleClient(host=server_url) client.authenticate_with_token(token=token) else: account = get_default_account() client = SpeckleClient(host=account.serverUrl) client.authenticate(token=account.token)
branches = client.branch.list(stream_id, 100)
168 unmodified lines speckle_token = os.environ.get("SPECKLE_TOKEN") notion_token = os.environ.get("NOTION_TOKEN")
client = SpeckleClient(host="https://speckle.xyz/") client.authenticate_with_token(token=speckle_token) #client = SpeckleClient(host="https://speckle.xyz") #client.authenticate_with_token(token=speckle_token) print("not", notion_token) print("spec", speckle_token) for key, value in streams.items():app.py+3-6