MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / Edge

Class Edge

apps/application/flow/common.py:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63class Edge:
64 def __init__(self, _id: str, _type: str, sourceNodeId: str, targetNodeId: str, **keywords):
65 self.id = _id
66 self.type = _type
67 self.sourceNodeId = sourceNodeId
68 self.targetNodeId = targetNodeId
69 for keyword in keywords:
70 self.__setattr__(keyword, keywords.get(keyword))
71
72
73class Node:

Callers 1

new_instanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected