cloudpss 4.5.7__tar.gz → 4.5.8__tar.gz
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.
- {cloudpss-4.5.7 → cloudpss-4.5.8}/PKG-INFO +1 -1
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/topology.py +17 -5
- cloudpss-4.5.8/cloudpss/version.py +1 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss.egg-info/PKG-INFO +1 -1
- cloudpss-4.5.7/cloudpss/version.py +0 -1
- {cloudpss-4.5.7 → cloudpss-4.5.8}/README.md +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/job/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/job/job.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/job/messageStreamReceiver.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/job/messageStreamSender.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/model/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/model/model.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/model/revision.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/model/topology.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/utils/AsyncIterable.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/utils/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/asyncio/utils/httpAsyncRequest.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/function/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/function/function.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/function/functionExecution.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/function/job.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/DataManageModel.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/EvaluationModel.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/IESLabOpt.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/IESLabPlan.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/IESLabSimulation.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/PlanModel.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/ieslab/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/job.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/jobReceiver.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/messageStreamReceiver.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/messageStreamSender.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/EMTResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/IESLabSimulationResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/IESLabTypicalDayResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/IESResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/PowerFlowResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/job/result/result.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/implements/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/implements/component.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/implements/diagram.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/implements/implement.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/jobDefinitions.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/model.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/model/revision.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/project/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/project/project.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/IESLabEvaluationResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/IESLabPlanResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/IESLabTypicalDayResult.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/MessageStreamReceiver.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/receiver.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/result.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/runner.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/storage.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/runner/transform.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/IO.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/__init__.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/dataEncoder.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/graphqlUtil.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/httprequests.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/matlab.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/utils/yamlLoader.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss/verify.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss.egg-info/SOURCES.txt +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss.egg-info/dependency_links.txt +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss.egg-info/requires.txt +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/cloudpss.egg-info/top_level.txt +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/setup.cfg +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/setup.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-async.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-async2.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-async3.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-plot.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-plot1.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-sdk.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-sdk1.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-snapshot.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-topology.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-topology1.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test-yield.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test11.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test12.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test7950.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testAsync.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testEvent.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testRt-test.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testRt.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testRt2.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testSend.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test_in_new_web_1.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test_modepower_ampratio(3).py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test_ws.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test_ws2.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/test_ws3.py +0 -0
- {cloudpss-4.5.7 → cloudpss-4.5.8}/test/testb.py +0 -0
@@ -17,14 +17,16 @@ class ModelTopology():
|
|
17
17
|
mappings 拓扑分析后的一些映射数据
|
18
18
|
|
19
19
|
|
20
|
+
"""
|
21
|
+
__ReqParam="""
|
22
|
+
components
|
23
|
+
mappings
|
20
24
|
"""
|
21
25
|
__modelTopologyQuery = """
|
22
26
|
query($a:ModelTopologyInput!){
|
23
27
|
modelTopology(input:$a){
|
24
|
-
|
25
|
-
|
26
|
-
ports
|
27
|
-
}}
|
28
|
+
|
29
|
+
|
28
30
|
"""
|
29
31
|
__All__ = ['ModelTopology']
|
30
32
|
|
@@ -77,7 +79,17 @@ class ModelTopology():
|
|
77
79
|
'maximumDepth': maximumDepth
|
78
80
|
}
|
79
81
|
}
|
80
|
-
|
82
|
+
|
83
|
+
ports = kwargs.get('ports', False)
|
84
|
+
if ports:
|
85
|
+
ModelTopology.__ReqParam += """
|
86
|
+
ports
|
87
|
+
"""
|
88
|
+
del kwargs['ports']
|
89
|
+
query = ModelTopology.__modelTopologyQuery + ModelTopology.__ReqParam + "}}"
|
90
|
+
|
91
|
+
|
92
|
+
data = graphql_request(query, variables, **kwargs)
|
81
93
|
if 'errors' in data:
|
82
94
|
raise Exception(data['errors'][0]['message'])
|
83
95
|
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.5.8'
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '4.5.7'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|