Skip to content

Version 2.2.1

Compare
Choose a tag to compare
@basilisk487 basilisk487 released this 04 Oct 03:13

Upgrade to API definition compatible with 2017-32.x release

Note: v2.2.x libraries require a minor code modification to be compatible with v2.1.x and earlier versions due to breaking changes introduced by swagger-codegen.

Before:

client = wave_api.ApiClient(host=base_url, header_name='Authorization', header_value='Bearer ' + api_key)

After:

config = wave_api.Configuration()
config.host = base_url
client = wave_api.ApiClient(configuration=config, header_name='Authorization', header_value='Bearer ' + api_key)