    def remove(self, *types) -> TypeChecker:
        """
        Produce a new checker with the given types forgotten.

        Arguments:

            types:

                the names of the types to remove.

        Raises:

            `jsonschema.exceptions.UndefinedTypeCheck`:

                if any given type is unknown to this object

        """
        type_checkers = self._type_checkers
        for each in types:
            try:
                type_checkers = type_checkers.remove(each)
            except KeyError:
                raise UndefinedTypeCheck(each) from None
        return evolve(self, type_checkers=type_checkers)
Produce a new checker with the given types forgotten.

Arguments:

types:

the names of the types to remove.

Raises:

`jsonschema.exceptions.UndefinedTypeCheck`:

if any given type is unknown to this object
jsonschema/_types.py