Beispiel #1
0
 def __init__(self, type):
     if neo4j.RelationshipType.instance_(type):
         self.__jobj__ = type
         self._name = type.name()
     else:
         self.__jobj__ = rel_type(type)
         self._name = type
Beispiel #2
0
 def istype(self, tp_name):
     return self.__jobj__.isType(rel_type(tp_name))