We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fbbfe commit 5202d73Copy full SHA for 5202d73
graphgen/models/storage/json_storage.py
@@ -7,6 +7,8 @@
7
8
@dataclass
9
class JsonKVStorage(BaseKVStorage):
10
+ working_dir: str = None
11
+ namespace: str = None
12
_data: dict[str, str] = None
13
14
def __post_init__(self):
@@ -53,6 +55,8 @@ async def drop(self):
53
55
54
56
57
class JsonListStorage(BaseListStorage):
58
59
60
_data: list = None
61
62
graphgen/models/storage/networkx_storage.py
@@ -11,6 +11,9 @@
class NetworkXStorage(BaseGraphStorage):
15
16
+
17
@staticmethod
18
def load_nx_graph(file_name) -> Optional[nx.Graph]:
19
if os.path.exists(file_name):
0 commit comments