<ling-repeat="item in menuItems"class="{[{item.listName}]}"ng-click="onMenuClick($event, item.action, item.listId)">{[{item.verb}]} {[{item.listName}]}</li>
</ul>
</div>
</div>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
raiseAPIException('Parameter "value" should be an array when using operator "%s"'%(operator,),400)
forvinvalue:
ifnotisinstance(v,(int,float,str)):
raiseAPIException('Parameter "value" should be an array of numbers or strings when using operator "%s"'%(operator,),400)
else:
ifnotisinstance(value,(int,float,str)):
raiseAPIException('Parameter "value" should be a number or string when using operator "%s"'%(operator,),400)
# parse field
field_objects={
'hyperdata':None,
'ngrams':['terms','n'],
}
field=field.split('.')
iflen(field)<2orfield[0]notinfield_objects:
raiseAPIException('Parameter "field" should be a in the form "object.key", where "object" takes one of the following values: "%s". "%s" was found instead'%('", "'.join(field_objects),'.'.join(field)),400)
raiseAPIException('Invalid key for "%s" in parameter "field", should be one of the following values: "%s". "%s" was found instead'%(field[0],'", "'.join(field_objects[field[0]]),field[1]),400)
raiseAPIException('In the query\'s "retrieve" parameter, a "list" should be provided as an array',400)
ifretrieve['type']notinretrieve_types:
raiseAPIException('Unrecognized "type": "%s" in the query\'s "retrieve" parameter. Possible values are: "%s".'%(retrieve['type'],'", "'.join(retrieve_types),),400)
raiseAPIException('Invalid key for "%s" in parameter "field", should be one of the following values: "%s". "%s" was found instead'%(field[0],'", "'.join(hyperdata_names),field[1]),400)
# check or create Node_Hyperdata alias; join if necessary
raiseAPIException('Unrecognized "field": "%s" in the query\'s "retrieve" parameter. Possible values are: "%s".'%(field_name,'", "'.join(authorized_field_names),))
raiseAPIException('Invalid key for "%s" in parameter "field", should be one of the following values: "%s". "%s" was found instead'%(field[0],'", "'.join(hyperdata_names),field[1]),400)
# check or create Node_Hyperdata alias; join if necessary
raiseAPIException('Unrecognized field "%s" in the query\'s "sort" parameter. Accepted values are: "%s"'%(sort_field_name,'", "'.join(fields_names)),400)