code: def _create_row(fields, values, row_kind: RowKind = None):
      row = Row(*values)
      if fields is not None:
          row._fields = fields
      if row_kind is not None:
          row.set_row_kind(row_kind)
      return row
  
imports: from enum import Enum
  from typing import List
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 1 for calling a global function with example usage: _create_row(fields, values, row_kind) and returns: row