class_docstr: A ``type`` property checker.
  
  A `TypeChecker` performs type checking for an `IValidator`. Type
  checks to perform are updated using `TypeChecker.redefine` or
  `TypeChecker.redefine_many` and removed via `TypeChecker.remove`.
  Each of these return a new `TypeChecker` object.
  
  Arguments:
  
      type_checkers (dict):
  
          The initial mapping of types to their checking functions.
class_docstr_tok: ["A","``","type","``","property","checker",".","A","`","TypeChecker","`","performs","type","checking","for","an","`","IValidator","`",".","Type","checks","to","perform","are","updated","using","`","TypeChecker.redefine","`","or","`","TypeChecker.redefine_many","`","and","removed","via","`","TypeChecker.remove","`",".","Each","of","these","return","a","new","`","TypeChecker","`","object",".","Arguments",":","type_checkers","(","dict",")",":","The","initial","mapping","of","types","to","their","checking","functions","."]
docstr: Produce a new checker with the given types forgotten.
  
  Arguments:
  
      types (~collections.Iterable):
  
          the names of the types to remove.
  
  Returns:
  
      A new `TypeChecker` instance
  
  Raises:
  
      `jsonschema.exceptions.UndefinedTypeCheck`:
  
          if any given type is unknown to this object
docstr_tok: ["Produce","a","new","checker","with","the","given","types","forgotten",".","Arguments",":","types","(","~collections.Iterable",")",":","the","names","of","the","types","to","remove",".","Returns",":","A","new","`","TypeChecker","`","instance","Raises",":","`","jsonschema.exceptions.UndefinedTypeCheck","`",":","if","any","given","type","is","unknown","to","this","object"]
code: def remove(self, *types):
      """
      Produce a new checker with the given types forgotten.
  
      Arguments:
  
          types (~collections.Iterable):
  
              the names of the types to remove.
  
      Returns:
  
          A new `TypeChecker` instance
  
      Raises:
  
          `jsonschema.exceptions.UndefinedTypeCheck`:
  
              if any given type is unknown to this object
      """
  
      checkers = self._type_checkers
      for each in types:
          try:
              checkers = checkers.remove(each)
          except KeyError:
              raise UndefinedTypeCheck(each)
      return attr.evolve(self, type_checkers=checkers)
  
file_path: catboost/contrib/python/jsonschema/py3/jsonschema/_types.py
imports: import numbers
  from pyrsistent import pmap
  import attr
  from jsonschema.compat import int_types, str_types
  from jsonschema.exceptions import UndefinedTypeCheck
label_desc: Use image node_id 4 for calling the TypeChecker obj's underlying member method code with example usage: obj.remove() and returns: attr