scratchcloud 1.2.0
v1.2.0 is here! There are lots of internal breaking changes that make this library more async-like.
Breaking Changes
- Changed
CloudClient.connected
toCloudClient.client_setup
- Changed method
CloudClient.start()
toCloudClient.setup()
CloudClient.setup()
no longer starts the cloud client's main loop.CloudClient.setup()
returns a task that starts the main loop instead of starting the main loop.SegmentDump.dump()
now has a default delay of 0 seconds due to rate limiting handling (see below)
Features
CloudClient.set_cloud()
is now rate limited to 0.1 requests per second. Requests will be queued and fulfilled in the order they were sent.CloudClient
objects can now be stopped with theCloudClient.stop()
method.MissingCloudVariable
exceptions can be ignored through theCloudClient
via the argumentignore_missing_variables=True
Fixes
- Some docs fixes