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

Remove Bunch requirement #171

Merged
merged 1 commit into from
Feb 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions cloudbridge/cloud/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ def create_provider(self, name, config):
:param name: Cloud provider name: one of ``aws``, ``openstack``,
``azure``.

:type config: an object with required fields
:param config: This can be a Bunch or any other object whose fields can
be accessed using dot notation. See specific provider
:type config: :class:`dict`
:param config: A dictionary or an iterable of key/value pairs (as tuples
or other iterables of length two). See specific provider
implementation for the required fields.

:return: a concrete provider instance
Expand Down
8 changes: 4 additions & 4 deletions cloudbridge/cloud/interfaces/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def __init__(self, config):

:type config: :class:`dict`
:param config: A dictionary object containing provider initialization
values. Alternatively, this can be a Bunch or any other
object whose fields can be accessed as members. See
specific provider implementation for the required
fields.
values. Alternatively, this can be an iterable of
key/value pairs (as tuples or other iterables of length
two). See specific provider implementation for the
required fields.

:rtype: :class:`.CloudProvider`
:return: a concrete provider instance
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
break

REQS_BASE = [
'bunch>=1.0.1',
'six>=1.11',
'tenacity>=4.12.0,<=5.0',
'cachetools>=2.1.0',
Expand Down