File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -486,20 +486,6 @@ def size_is_fixed(self) -> bool:
486486 # Wenn kein InvestParameters existiert --> True; Wenn Investparameter, den Wert davon nehmen
487487 return False if (isinstance (self .size , InvestParameters ) and self .size .fixed_size is None ) else True
488488
489- @property
490- def invest_is_optional (self ) -> bool :
491- # Wenn kein InvestParameters existiert: # Investment ist nicht optional -> Keine Variable --> False
492- warnings .warn (
493- "The 'invest_is_optional' property is deprecated. Use 'invest_is_mandatory' instead." ,
494- DeprecationWarning ,
495- stacklevel = 2 ,
496- )
497- return False if (isinstance (self .size , InvestParameters ) and self .size .mandatory ) else True
498-
499- @property
500- def invest_is_mandatory (self ) -> bool :
501- return False if (isinstance (self .size , InvestParameters ) and not self .size .mandatory ) else True
502-
503489
504490class FlowModel (ElementModel ):
505491 def __init__ (self , model : SystemModel , element : Flow ):
You can’t perform that action at this time.
0 commit comments