This repository has been archived by the owner on Aug 28, 2021. It is now read-only.
Releases: speckleworks/PySpeckle
Releases · speckleworks/PySpeckle
v2.3.0
v2.2.1
v2.2.0
v2.1.1
v2.1.0
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
2.0.0 (2019-08-09)
Features
BREAKING CHANGES
- cache: move database functions from SpeckleClient to SpeckleCache
To migrate the code follow the example below:
Before:
client = SpeckleApiClient()
accounts = client.load_local_profiles_from_database()
profile = {'email':'[email protected]', 'server':'https://hestia.speckle.works/api/v1', 'server_name':'Hestia Speckle', 'apitoken':'abcdefgh'}
client.write_profile_to_database(profile)
After:
cache = SpeckleCache()
accounts = cache.get_all_accounts()
cache .write_account("https://hestia.speckle.works/api/v1", "Hestia Speckle", "[email protected]", "abcdefgh")
The object and user profile database should be independent of the API clients.