(self, relation)
Add the relation inner to the cache, under the schema schema and
        identifier identifier

        :param BaseRelation relation: The underlying relation.
Add the relation inner to the cache, under the schema schema and
        identifier identifier
Add the relation inner to the cache under the schema schema and identifier identifier
def add(self, relation):
        """Add the relation inner to the cache, under the schema schema and
        identifier identifier

        :param BaseRelation relation: The underlying relation.
        """
        cached = _CachedRelation(relation)
        fire_event(AddRelation(relation=_make_key(cached)))
        fire_event(DumpBeforeAddGraph(dump=self.dump_graph()))

        with self.lock:
            self._setdefault(cached)
        fire_event(DumpAfterAddGraph(dump=self.dump_graph()))
def add ( self , relation ) : cached = _CachedRelation ( relation ) fire_event ( AddRelation ( relation = _make_key ( cached ) ) ) fire_event ( DumpBeforeAddGraph ( dump = self . dump_graph ( ) ) ) with self . lock : self . _setdefault ( cached ) fire_event ( DumpAfterAddGraph ( dump = self . dump_graph ( ) ) )