vectorvein 0.2.58__py3-none-any.whl → 0.2.59__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.
- vectorvein/workflow/graph/node.py +4 -2
- {vectorvein-0.2.58.dist-info → vectorvein-0.2.59.dist-info}/METADATA +1 -1
- {vectorvein-0.2.58.dist-info → vectorvein-0.2.59.dist-info}/RECORD +5 -5
- {vectorvein-0.2.58.dist-info → vectorvein-0.2.59.dist-info}/WHEEL +0 -0
- {vectorvein-0.2.58.dist-info → vectorvein-0.2.59.dist-info}/entry_points.txt +0 -0
@@ -95,11 +95,13 @@ class Node:
|
|
95
95
|
)
|
96
96
|
|
97
97
|
def to_dict(self) -> Dict[str, Any]:
|
98
|
-
|
98
|
+
# 如果端口有条件表达式,且根据条件不能显示,则端口 show 要强制设置为 False
|
99
|
+
for port in self.ports.values():
|
99
100
|
port_show = port.show
|
100
101
|
if port.condition_python:
|
101
102
|
port_show = port.condition_python(self.ports)
|
102
|
-
|
103
|
+
if not port_show:
|
104
|
+
port.show = False
|
103
105
|
return {
|
104
106
|
"id": self.id,
|
105
107
|
"type": self.type,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
vectorvein-0.2.
|
2
|
-
vectorvein-0.2.
|
3
|
-
vectorvein-0.2.
|
1
|
+
vectorvein-0.2.59.dist-info/METADATA,sha256=BheFksxwcADub_4i7MjNVkGphfMisLWPCH0ZQrvz-rg,4570
|
2
|
+
vectorvein-0.2.59.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
vectorvein-0.2.59.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
4
|
vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
vectorvein/api/__init__.py,sha256=lfY-XA46fgD2iIZTU0VYP8i07AwA03Egj4Qua0vUKrQ,738
|
6
6
|
vectorvein/api/client.py,sha256=xF-leKDQzVyyy9FnIRaz0k4eElYW1XbbzeRLcpnyk90,33047
|
@@ -42,7 +42,7 @@ vectorvein/utilities/media_processing.py,sha256=7KtbLFzOYIn1e9QTN9G6C76NH8CBlV9k
|
|
42
42
|
vectorvein/utilities/rate_limiter.py,sha256=dwolIUVw2wP83Odqpx0AAaE77de1GzxkYDGH4tM_u_4,10300
|
43
43
|
vectorvein/utilities/retry.py,sha256=6KFS9R2HdhqM3_9jkjD4F36ZSpEx2YNFGOVlpOsUetM,2208
|
44
44
|
vectorvein/workflow/graph/edge.py,sha256=1ckyyjCue_PLm7P1ItUfKOy6AKkemOpZ9m1WJ8UXIHQ,1072
|
45
|
-
vectorvein/workflow/graph/node.py,sha256=
|
45
|
+
vectorvein/workflow/graph/node.py,sha256=P3iL5kJ0Nabd9NPOcbbznD71OBUtsSUcZ_zJ6a2cnIc,5559
|
46
46
|
vectorvein/workflow/graph/port.py,sha256=HcinzQqNP7ysTvBmi3c4iaWne8nV6m-BpFFX0jTrMIE,7122
|
47
47
|
vectorvein/workflow/graph/workflow.py,sha256=f5KAQUXTKii7UFYmSZeZZQ7JCKKPmJlUg0iFAfBEJQE,6366
|
48
48
|
vectorvein/workflow/nodes/__init__.py,sha256=dWrWtL3q0Vsn-MLgJ7gNgLCrwZ5BrqjrN2QFPNeBMuc,3240
|
@@ -64,4 +64,4 @@ vectorvein/workflow/nodes/web_crawlers.py,sha256=FB0bTimkk___p3Z5UwQx2YarJyQCc45
|
|
64
64
|
vectorvein/workflow/utils/check.py,sha256=Oj_S5WQf4_Fr_ro3ipjZt9unKFSFcuwZrrSmrS9kVLE,10193
|
65
65
|
vectorvein/workflow/utils/json_to_code.py,sha256=F7dhDy8kGc8ndOeihGLRLGFGlquoxVlb02ENtxnQ0C8,5914
|
66
66
|
vectorvein/workflow/utils/layout.py,sha256=j0bRD3uaXu40xCS6U6BGahBI8FrHa5MiF55GbTrZ1LM,4565
|
67
|
-
vectorvein-0.2.
|
67
|
+
vectorvein-0.2.59.dist-info/RECORD,,
|
File without changes
|
File without changes
|