Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve api.conf usage #219

Open
hezanathos opened this issue Dec 23, 2020 · 0 comments
Open

Improve api.conf usage #219

hezanathos opened this issue Dec 23, 2020 · 0 comments
Assignees

Comments

@hezanathos
Copy link
Member

Change CBWApi behaviour so that it accepts any prototype :
CBWApi(*args, **kwargs)

Handle the retrocompatibility, no change to previous usage can happen.

Then handle a new named parameter for this constructor, that allows providing an api.conf path and loading it.
Once its done, change all examples to use this and ad a top comment(for each example) to ask the user to change the path parameter if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants