From c345c465be095799ca6819c607b64869d6bf82e2 Mon Sep 17 00:00:00 2001 From: Paul Makepeace Date: Fri, 10 Jun 2011 14:38:44 +0000 Subject: [PATCH] Clarity docs (I hope) --- google/refine/refine.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/google/refine/refine.py b/google/refine/refine.py index de6a9ea..1b7897a 100644 --- a/google/refine/refine.py +++ b/google/refine/refine.py @@ -314,12 +314,12 @@ class RefineProject: def get_models(self): """Fill out column metadata. - column structure is sent in a list of columns in their order. - The cellIndex is used to find that column's data when returned from - get_rows().""" + Column structure is a list of columns in their order. + The cellIndex is an index for that column's data into the list returned + from get_rows().""" response = self.do_json('get-models', include_engine=False) column_model = response['columnModel'] - column_index = {} + column_index = {} # map of column name to index into get_rows() data self.columns = [column['name'] for column in column_model['columns']] for i, column in enumerate(column_model['columns']): name = column['name']