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

Class VertexLabel

python/graphscope/framework/graph_schema.py:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192
193class VertexLabel(Label):
194 __slots__ = []
195
196 @property
197 def type_enum(self):
198 return graph_def_pb2.TypeEnumPb.VERTEX
199
200 def add_primary_key(self, name, data_type, comment=""):
201 return self.add_property(name, data_type, True, comment)
202
203
204class EdgeLabel(Label):

Callers 6

_from_vineyardMethod · 0.70
from_dictMethod · 0.70
add_vertex_labelMethod · 0.70
add_vertex_propertiesMethod · 0.70
dropMethod · 0.70
drop_allMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected