code: def norm(self, valu):
          '''
          Normalize the value for a given type.
  
          Args:
              valu (obj): The value to normalize.
  
          Returns:
              ((obj,dict)): The normalized valu, info tuple.
  
          Notes:
              The info dictionary uses the following key conventions:
                  subs (dict): The normalized sub-fields as name: valu entries.
          '''
          func = self._type_norms.get(type(valu))
          if func is None:
              raise s_exc.NoSuchFunc(name=self.name, mesg='no norm for type: %r' % (type(valu),))
  
          return func(valuf norm(self, valu):
          '''
          Normalize the value for a given type.
  
          Args:
              valu (obj): The value to normalize.
  
          Returns:
              ((obj,dict)): The normalized valu, info tuple.
  
          Notes:
              The info dictionary uses the following key conventions:
                  subs (dict): The normalized sub-fields as name: valu entries.
          '''
          func = self._type_norms.get(type(valu))
          if func is None:
              raise s_exc.NoSuchFunc(name=self.name, mesg='no norm for type: %r' % (type(valu),))
  
          return func(valu)
docs: Normalize the value for a given type.
  
          Args:
              valu (obj): The value to normalize.
  
          Returns:
              ((obj,dict)): The normalized valu, info tuple.
  
          Notes:
              The info dictionary uses the following key conventions:
                  subs (dict): The normalized sub-fields as name: valu entries.