code: def parse_variable(self, variable):
          
          data = None
          if variable is not None:
              variable = variable.strip()
              if re.match(self._variable_match, variable):
                  var = re.search(self._variable_parse, variable)
                  data = {
                      'root': var.group(0),
                      'job_id': var.group(2),
                      'name': var.group(3),
                      'type': var.group(4),
                  }
          return data
docs: Method to parse an input or output variable.
  
          **Example Variable**::
  
          #App:1234:output!String
  
          Args:
              variable (string): The variable name to parse.
  
          Returns:
              (dictionary): Result of parsed string.