Skip to content

need more example how to use stitch #6

@zeromtmu

Description

@zeromtmu

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'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions