parameters: (graph: Graph, match, pattern_edges, input_names_in_pattern)
return_statement: return graph.get_inputs_with_ports(match=match,
                                         pattern_edges=pattern_edges,
                                         input_names_in_pattern=input_names_in_pattern)
docstring: Front replacements of multi-input nodes should specify output port to add_node-like functions
      This function is a helper to get such information out of matched nodes
      :param graph: graph to operate on
      :param match: dictionary returned by matching function
      :param pattern_edges: edges that are specified in pattern
      :param input_names_in_pattern: names of matched nodes as they were specified in pattern that should be in
      resulting list
      :return: list of tuples of node and output port
docstring_summary: Front replacements of multi-input nodes should specify output port to add_node-like functions
      This function is a helper to get such information out of matched nodes
      :param graph: graph to operate on
      :param match: dictionary returned by matching function
      :param pattern_edges: edges that are specified in pattern
      :param input_names_in_pattern: names of matched nodes as they were specified in pattern that should be in
      resulting list
      :return: list of tuples of node and output port
docstring_tokens: Front replacements of multi - input nodes should specify output port to add_node - like functions This function is a helper to get such information out of matched nodes : param graph : graph to operate on : param match : dictionary returned by matching function : param pattern_edges : edges that are specified in pattern : param input_names_in_pattern : names of matched nodes as they were specified in pattern that should be in resulting list : return : list of tuples of node and output port
function: def get_inputs_with_ports(graph: Graph, match, pattern_edges, input_names_in_pattern):
      """
      Front replacements of multi-input nodes should specify output port to add_node-like functions
      This function is a helper to get such information out of matched nodes
      :param graph: graph to operate on
      :param match: dictionary returned by matching function
      :param pattern_edges: edges that are specified in pattern
      :param input_names_in_pattern: names of matched nodes as they were specified in pattern that should be in
      resulting list
      :return: list of tuples of node and output port
      """
      return graph.get_inputs_with_ports(match=match,
                                         pattern_edges=pattern_edges,
                                         input_names_in_pattern=input_names_in_pattern)
function_tokens: def get_inputs_with_ports ( graph : Graph , match , pattern_edges , input_names_in_pattern ) : return graph . get_inputs_with_ports ( match = match , pattern_edges = pattern_edges , input_names_in_pattern = input_names_in_pattern )