code: def clear(self):
          
          for clear_data in self.profile.get('clear') or []:
              if clear_data.get('data_type') == 'redis':
                  self.clear_redis(clear_data.get('variable'), 'clear')
              elif clear_data.get('data_type') == 'threatconnect':
                  self.clear_tc(clear_data.get('owner'), clear_data, 'clear')
docs: Clear Redis and ThreatConnect data defined in profile.
  
          Redis Data:
  
          .. code-block:: javascript
  
              {
                "data_type": "redis",
                "variable": "#App:4768:tc.adversary!TCEntity"
              }
  
          ThreatConnect Data:
  
          .. code-block:: javascript
  
              {
                "data_type": "threatconnect",
                "owner": "TCI",
                "type": "Address",
                "value": "1.1.1.1"
              }