MCPcopy Create free account
hub / github.com/alibaba/GraphScope / destination

Method destination

python/graphscope/framework/graph_schema.py:219–225  ·  view source on GitHub ↗
(self, label)

Source from the content-addressed store, hash-verified

217 return self
218
219 def destination(self, label):
220 assert (
221 self._relations
222 ), "Found empty relation, maybe you should use `source` first."
223 assert not self._relations[-1].destination, "An destination is already exists."
224 self._relations[-1] = self._relations[-1]._replace(destination=label)
225 return self
226
227 @property
228 def relations(self) -> List[Relation]:

Callers 12

add_edge_labelMethod · 0.95
_from_store_serviceMethod · 0.80
_from_vineyardMethod · 0.80
from_dictMethod · 0.80
dropMethod · 0.80
drop_allMethod · 0.80
demoFunction · 0.80
create_crew_graph_schemaFunction · 0.80
create_ldbc_graph_schemaFunction · 0.80
create_edge_typeMethod · 0.80

Calls

no outgoing calls

Tested by 1

demoFunction · 0.64