parameters: (qdict)
return_statement: return sha.hexdigest()
docstring: Generate a hash based on the query items passed to this report request.
docstring_summary: Generate a hash based on the query items passed to this report request.
docstring_tokens: Generate a hash based on the query items passed to this report request .
function: def generate_report_hash(qdict):
      """
      Generate a hash based on the query items passed to this report request.
      """
  
      params = qdict.get('popVar', ' ') + \
          qdict.get('popVarExtra', ' ') + \
          qdict.get('ratioVars[]', ' ') + \
          qdict.get('splitVars', ' ') + \
          qdict.get('blockLabelVar', 'CTID') + \
          qdict.get('repCompactness', ' ') + \
          qdict.get('repCompactnessExtra', ' ') + \
          qdict.get('repSpatial', ' ') + \
          qdict.get('repSpatialExtra', ' ')
      sha = hashlib.sha1()
      sha.update(params)
      return sha.hexdigest()
function_tokens: def generate_report_hash ( qdict ) : params = qdict . get ( 'popVar' , ' ' ) + qdict . get ( 'popVarExtra' , ' ' ) + qdict . get ( 'ratioVars[]' , ' ' ) + qdict . get ( 'splitVars' , ' ' ) + qdict . get ( 'blockLabelVar' , 'CTID' ) + qdict . get ( 'repCompactness' , ' ' ) + qdict . get ( 'repCompactnessExtra' , ' ' ) + qdict . get ( 'repSpatial' , ' ' ) + qdict . get ( 'repSpatialExtra' , ' ' ) sha = hashlib . sha1 ( ) sha . update ( params ) return sha . hexdigest ( )