summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspenczar <spenczar@u.northwestern.edu>2011-07-02 14:21:19 -0400
committerspenczar <spenczar@u.northwestern.edu>2011-07-02 14:21:19 -0400
commitac48de903e397d7b3eeb440a55e69292be4df132 (patch)
treec3024ea8fcdd1b12ca77dff36e27c9ba29e6e551
parent4efa459f0b10f49db72076a431cbbd40414a1fec (diff)
downloadboto-ac48de903e397d7b3eeb440a55e69292be4df132.tar.gz
Add tiny documentation to _get_instance_group_types
-rw-r--r--boto/emr/connection.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/boto/emr/connection.py b/boto/emr/connection.py
index c6fd9c28..a25e8bbc 100644
--- a/boto/emr/connection.py
+++ b/boto/emr/connection.py
@@ -342,6 +342,10 @@ class EmrConnection(AWSQueryConnection):
def _get_instance_group_types(self, jobflow_id):
+ """
+ Takes a jobflow_id, returns a dictionary with Instance Group IDs
+ for keys and their associated Instance Roles as values.
+ """
jobflow_detail = self.describe_jobflow(jobflow_id)
instance_group_list = jobflow_detail.instancegroups
instance_group_types = {}