Skip to content

0.7.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@jmorel jmorel released this 08 Jul 08:03

API changes

Define the "profile" for the client at initialization. Initialise it by passing parameters or directly from a config file.

Previous API:

c = Client()
c.add_profile(profile_name, url, version, insecure)
c.login(username, password)

New API:

c = Client(url, token, retry_timeout, backend, version, insecure)
c.login(username, password)

or

c = Client.from_config_file(profile_name, config-path, user_path, token, retry_timeout, backend)
c.login(username, password)

Features

  • local debugging: run everything locally using the local backend in the client.
c = Client(..., backend='local')