Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need more example how to use stitch #6

Open
zeromtmu opened this issue Mar 14, 2018 · 0 comments
Open

need more example how to use stitch #6

zeromtmu opened this issue Mar 14, 2018 · 0 comments

Comments

@zeromtmu
Copy link

i try to follow example code and get this error

`KeyError Traceback (most recent call last)
in ()
3 from stitchclient.client import BufferEntry, Client
4
----> 5 with Client(int(os.environ['STITCH_CLIENT_ID']), os.environ['STITCH_TOKEN'], callback_function=print) as c:
6 for i in range(1,10):
7 c.push({'action': 'upsert',

/usr/lib/python3.6/os.py in getitem(self, key)
667 except KeyError:
668 # raise KeyError with the original key value
--> 669 raise KeyError(key) from None
670 return self.decodevalue(value)
671

KeyError: 'STITCH_CLIENT_ID'`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant