- results = manifold_api.Get('metadata:table', [], [], fields)
- self.hash_by_subject = dict ( [ (result['table'], result) for result in results ] )
+ rows_result = manifold_api.Get({
+ 'fact_table': 'local:objects', # proposed to replace metadata:table
+ 'fields': fields
+ })
+#old# rows_result = manifold_api.Get('metadata:table', [], [], fields)
+ rows = rows_result.ok_value()
+ if not rows:
+ print "Failed to retrieve metadata",rows_result.error()
+ rows=[]
+ self.hash_by_subject = dict ( [ (row['table'], row) for row in rows ] )