Releases: cal-am/dotloop-python
Version 0.1.0
Notes
The main change in version 0.1.0 is the switch over to relying on the aiohttp.ClientSession instead of the requests library.
Additionally, all models can now be easily created without going through the idiomatic client.profile(...).loop(...).get()
Version 0.1.0 is incompatible with previous 0.0.X versions. All previous APIs have been moved to the blocking namespace. For example, the following import
from dotloop import Authenticate, Clientshould now be
from dotloop.blocking import Authenticate, ClientThe asynchronous API does not currently support the loop-it endpoint.
The asynchronous API will not create the aiohttp.ClientSession but asks that you bring your own.
Documentation will be released highlighting usage of the updated
v0.0.6
Changes
Client
DEFAULT_PROFILE will select the user's first profile if user has not made a profile their default.
v0.0.5
Features
Client.DEFAULT_PROFILE
Added feature for quickly getting the user's default profile id. This is done by:
client = Client('access-token')
client.DEFAULT_PROFILEThis is useful in code such as this:
client.profile(client.DEFAULT_PROFILE).loop.get()Note: Client.DEFAULT_PROFILE is a cached property. So, if the user's default profile changes after Client.DEFAULT_PROPERTY has already been fetched then this will not be reflected immediately. To reset Client.DEFAULT_PROFILE do:
del client.DEFAULT_PROFILEand then fetch it again.