cpg2py 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cpg2py/abc/storage.py +3 -3
- {cpg2py-1.0.1.dist-info → cpg2py-1.0.2.dist-info}/METADATA +1 -1
- {cpg2py-1.0.1.dist-info → cpg2py-1.0.2.dist-info}/RECORD +6 -6
- {cpg2py-1.0.1.dist-info → cpg2py-1.0.2.dist-info}/LICENSE +0 -0
- {cpg2py-1.0.1.dist-info → cpg2py-1.0.2.dist-info}/WHEEL +0 -0
- {cpg2py-1.0.1.dist-info → cpg2py-1.0.2.dist-info}/top_level.txt +0 -0
cpg2py/abc/storage.py
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
from typing import Optional, Iterable, Dict
|
|
1
|
+
from typing import Optional, Iterable, Dict, Tuple
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class Storage:
|
|
5
5
|
""" A directed multi-graph implementation supporting multiple edges between nodes. """
|
|
6
6
|
|
|
7
7
|
__NodeID = str
|
|
8
|
-
__EdgeID =
|
|
9
|
-
__Property =
|
|
8
|
+
__EdgeID = Tuple[str, str, str]
|
|
9
|
+
__Property = Dict[str, any]
|
|
10
10
|
|
|
11
11
|
def __init__(self):
|
|
12
12
|
""" Initializes an empty directed graph. """
|
|
@@ -3,13 +3,13 @@ cpg2py/abc/__init__.py,sha256=HgDXsJkGcPQvr6ac3hMrUU9TuQibMaP7-oXbXLs_iLI,207
|
|
|
3
3
|
cpg2py/abc/edge.py,sha256=zLlRebDKT2qK5XOJq23_UUCESgGsvgalbXdx_uUcKks,1240
|
|
4
4
|
cpg2py/abc/graph.py,sha256=DbeHN6qsNaqcqL9cUquJWC16BihDxy1MEhyuL-qVMBI,3902
|
|
5
5
|
cpg2py/abc/node.py,sha256=E2EQv_KisEPuslFaglZZvSBm-VY5LYCFBOFY1yiPzDY,844
|
|
6
|
-
cpg2py/abc/storage.py,sha256=
|
|
6
|
+
cpg2py/abc/storage.py,sha256=BF82Vs_7FxGYSPiM_6JwQVzmaqMzGy2r-WSk8pQQclY,5976
|
|
7
7
|
cpg2py/cpg/__init__.py,sha256=fO59Yd7OISyxdjdZDJ5zFM41r4cYKawOsvpqV4gWrGM,48
|
|
8
8
|
cpg2py/cpg/edge.py,sha256=_ERU_lS4_5AxlOiuX73JvTZBSr9o8ae0q-kWwO82580,1029
|
|
9
9
|
cpg2py/cpg/graph.py,sha256=n4EjAhhjzl0XRJBwlAmK5AcSrECiqhjA6dXt2Ucf7IM,3448
|
|
10
10
|
cpg2py/cpg/node.py,sha256=-2xl8c-eSbe4Kv4xPAEf6POlCYOV4j0voxJAKDZj3Cc,2037
|
|
11
|
-
cpg2py-1.0.
|
|
12
|
-
cpg2py-1.0.
|
|
13
|
-
cpg2py-1.0.
|
|
14
|
-
cpg2py-1.0.
|
|
15
|
-
cpg2py-1.0.
|
|
11
|
+
cpg2py-1.0.2.dist-info/LICENSE,sha256=vTjbt7iL1hUilI8E87FoQerEDa9nbpeip26iA6bguHI,1066
|
|
12
|
+
cpg2py-1.0.2.dist-info/METADATA,sha256=dCiQ4H2zcFC9AfFVOsSAkzFJDsKccGwcuyGYCnj9LRs,7077
|
|
13
|
+
cpg2py-1.0.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
14
|
+
cpg2py-1.0.2.dist-info/top_level.txt,sha256=xDY8faKh5Rczvsqb5Jt9Sq-Y7EOImh7jh-m1oVTnH5k,7
|
|
15
|
+
cpg2py-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|