You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/02/03 16:06:37 UTC
[3/3] git commit: image -> size and updated docstrings
image -> size and updated docstrings
Signed-off-by: Tomaz Muraus <to...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/71aff983
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/71aff983
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/71aff983
Branch: refs/heads/trunk
Commit: 71aff983c40a80f12f42bba5d2e59166743327b4
Parents: bee946e
Author: Chris DeRamus <ch...@divvycloud.com>
Authored: Sun Feb 2 15:50:31 2014 -0500
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Feb 3 15:53:33 2014 +0100
----------------------------------------------------------------------
libcloud/compute/base.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/71aff983/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index 46cdefe..e901f34 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -276,28 +276,28 @@ class NodeSize(UuidMixin):
driver, extra=None):
"""
:param id: Size ID.
- :type id: ``str``
+ :type id: ``str``
:param name: Size name.
- :type name: ``str``
+ :type name: ``str``
:param ram: Amount of memory (in MB) provided by this size.
- :type ram: ``int``
+ :type ram: ``int``
:param disk: Amount of disk storage (in GB) provided by this image.
- :type disk: ``int``
+ :type disk: ``int``
:param bandwidth: Amount of bandiwdth included with this size.
- :type bandwidth: ``int``
+ :type bandwidth: ``int``
:param price: Price (in US dollars) of running this node for an hour.
- :type price: ``float``
+ :type price: ``float``
- :param driver: Driver this image belongs to.
- :type driver: :class:`.NodeDriver`
+ :param driver: Driver this size belongs to.
+ :type driver: :class:`.NodeDriver`
:param extra: Optional provider specific attributes associated with
- this node.
+ this size.
:type extra: ``dict``
"""
self.id = str(id)