contentful / contentful.py

Python client for the Contentful Content Delivery API https://www.contentful.com/developers/documentation/content-delivery-api/
MIT License
45 stars 39 forks source link

Incorrect documentation for sync #70

Open moreindirection opened 2 years ago

moreindirection commented 2 years ago

In README.rst, the Synchronization section has this code sample:

sync = sync.next(client) # equivalent to client.sync(sync_token=sync.next_sync_token)

The example code given in the comment doesn't work. It needs to be:

client.sync({'sync_token': sync.next_sync_token})
mark-mishyn commented 2 years ago

Thanks @moreindirection!

Very helpful information for me:)