Update README.md

This commit is contained in:
Jeff Vandrew Jr 2019-03-11 11:16:21 -04:00 committed by GitHub
parent 090e49fc54
commit 6b26e38b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ client.get_invoice(<invoice-id>)
## Storing the client object for later
You do not need to store any tokens or private keys. Simply `pickle` the client object and save it to your persistent storage method (Redis, SQLAlchemy, etc). Pull it from persistent storage later, unpickle it, and perform any of the methods above on it which you may need.
You do not need to store any tokens or private keys. Simply `pickle` the client object and save it to your persistent storage method (Redis, SQLAlchemy, etc). Pull it from persistent storage later, unpickle it, and perform any of the methods above on it which you may need. You must save the object to persistent storage if you wish for the pairing to persist beyond being stored in memory.
## Creating a client the manual way (not necessary if you used the 'easy' method above)