Skip to content

Instantly share code, notes, and snippets.

@Tendrid
Created October 8, 2013 13:07
Show Gist options
  • Save Tendrid/6884375 to your computer and use it in GitHub Desktop.
Save Tendrid/6884375 to your computer and use it in GitHub Desktop.
_issetstr = '_isset_'
for _crit in filters.get('criteria',[]):
_isset = _crit.get('isset',False)
if _isset != False:
_issetstr += '{}'.format(_isset)
if _issetstr != '_isset_':
#import pdb; pdb.set_trace()
originalOLAP.name += _issetstr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment