File tree Expand file tree Collapse file tree
src/libecalc/presentation/yaml/yaml_types/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,12 +83,6 @@ class YamlSerialProcessSystem(YamlBase):
8383 items : list [YamlItem [YamlCompressorStageProcessSystem ]]
8484
8585
86- class YamlParallelProcessSystem (YamlBase ):
87- type : Literal ["PARALLEL" ]
88- name : ProcessSystemReference
89- items : list [YamlItem [YamlSerialProcessSystem ]]
90-
91-
9286class YamlOverflow (YamlBase ):
9387 from_reference : ProcessSystemReference
9488 to_reference : ProcessSystemReference
@@ -130,7 +124,7 @@ class YamlProcessConstraints(YamlBase):
130124
131125class YamlProcessSimulation (YamlBase ):
132126 name : str
133- target : YamlParallelProcessSystem | YamlSerialProcessSystem | ProcessSystemReference
127+ targets : list [ YamlItem [ YamlSerialProcessSystem ]] = Field (..., title = "TARGETS" )
134128 stream_distribution : YamlStreamDistribution
135129 constraints : dict [ProcessSystemReference , YamlProcessConstraints ] = Field (
136130 default_factory = dict ,
@@ -145,6 +139,6 @@ class YamlProcessSimulation(YamlBase):
145139]
146140
147141YamlProcessSystem = Annotated [
148- YamlParallelProcessSystem | YamlSerialProcessSystem | YamlCompressorStageProcessSystem ,
142+ YamlSerialProcessSystem | YamlCompressorStageProcessSystem ,
149143 Field (discriminator = "type" ),
150144]
You can’t perform that action at this time.
0 commit comments