ansys.scade.apitools.create.declaration.add_operator_inputs =========================================================== .. py:function:: ansys.scade.apitools.create.declaration.add_operator_inputs(operator: scade.model.suite.Operator, vars: List[Tuple[str, ansys.scade.apitools.create.type.TX]], insert_before: Optional[scade.model.suite.LocalVariable] = None) -> List[scade.model.suite.LocalVariable] Add inputs to an operator. Notes ----- This is an interface change with respect to the *SCADE Creation Library*. The pairs "name"/"type" tree are now embedded in a list of tuples. Parameters ---------- operator : suite.Operator Input operator. vars : List[Tuple[str, TX]] Name/type expression trees. insert_before : suite.LocalVariable | None, default: None Insertion point of the inputs. When this parameter is not ``None``, it is an existing input of the operator. The inputs are inserted before this input. Otherwise, the inputs are added at the end. Returns ------- List[suite.LocalVariable] List of added inputs.