MCPcopy Create free account
hub / github.com/cactus-compute/cactus / __init__

Method __init__

python/src/graph.py:13–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 INT4 = 3
12
13 def __init__(self):
14 self.h = _lib.cactus_graph_create()
15 if not self.h:
16 raise RuntimeError("cactus_graph_create failed")
17
18 def save(self, filename):
19 rc = _lib.cactus_graph_save(self.h, str(filename).encode())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected