code: async def getTypeNorm(self, name, valu):
          '''
          Get the normalized type value based on the Cortex data model.
  
          Args:
              name (str): The type to normalize.
              valu: The value to normalize.
  
          Returns:
              (tuple): A two item tuple, containing the normed value and the info dictionary.
  
          Raises:
              s_exc.NoSuchType: If the type does not exist.
              s_exc.BadTypeValu: If the value fails to normalize.
          '''
          tobj = self.model.type(name)
          if tobj is None:
              raise s_exc.NoSuchType(mesg=f'The type {name} does not exist.',
                                     name=name)
          norm, info = tobj.norm(valu)
          return norm, infync def getTypeNorm(self, name, valu):
          '''
          Get the normalized type value based on the Cortex data model.
  
          Args:
              name (str): The type to normalize.
              valu: The value to normalize.
  
          Returns:
              (tuple): A two item tuple, containing the normed value and the info dictionary.
  
          Raises:
              s_exc.NoSuchType: If the type does not exist.
              s_exc.BadTypeValu: If the value fails to normalize.
          '''
          tobj = self.model.type(name)
          if tobj is None:
              raise s_exc.NoSuchType(mesg=f'The type {name} does not exist.',
                                     name=name)
          norm, info = tobj.norm(valu)
          return norm, info
docs: Get the normalized type value based on the Cortex data model.
  
          Args:
              name (str): The type to normalize.
              valu: The value to normalize.
  
          Returns:
              (tuple): A two item tuple, containing the normed value and the info dictionary.
  
          Raises:
              s_exc.NoSuchType: If the type does not exist.
              s_exc.BadTypeValu: If the value fails to normalize.