code: def get_temp_filename(self, hash_key=None):
          '''
          Generate a temporary filename for this deploy.
          '''
  
          if not hash_key:
              hash_key = six.text_type(uuid4())
  
          temp_filename = '{0}/{1}'.format(
              self.config.TEMP_DIR, sha1_hash(hash_key),
          )
  
          return temp_filenamf get_temp_filename(self, hash_key=None):
          '''
          Generate a temporary filename for this deploy.
          '''
  
          if not hash_key:
              hash_key = six.text_type(uuid4())
  
          temp_filename = '{0}/{1}'.format(
              self.config.TEMP_DIR, sha1_hash(hash_key),
          )
  
          return temp_filename
docs: Generate a temporary filename for this deploy.