Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Improve api.conf usage #219

@hezanathos

Description

@hezanathos

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions