(self, typ)
return self
Remove a type from the schema.

        This may be of use to override some type, such as
        :class:`sgqlc.types.datetime.Date` or
        :class:`sgqlc.types.datetime.DateTime`.
Remove a type from the schema.
Remove a type from the schema .
def __isub__(self, typ):
        '''Remove a type from the schema.

        This may be of use to override some type, such as
        :class:`sgqlc.types.datetime.Date` or
        :class:`sgqlc.types.datetime.DateTime`.
        '''
        name = typ.__name__
        del self.__all[name]
        del self.__kinds[typ.__kind__][name]
        if self.query_type is typ:
            self.query_type = None  # pragma: no cover
        elif self.mutation_type is typ:
            self.mutation_type = None  # pragma: no cover
        elif self.subscription_type is typ:
            self.subscription_type = None  # pragma: no cover
        return self
def __isub__ ( self , typ ) : name = typ . __name__ del self . __all [ name ] del self . __kinds [ typ . __kind__ ] [ name ] if self . query_type is typ : self . query_type = None # pragma: no cover elif self . mutation_type is typ : self . mutation_type = None # pragma: no cover elif self . subscription_type is typ : self . subscription_type = None # pragma: no cover return self