def METHOD_NAME(element):
  import uuid
  from apache_beam.io.gcp.experimental.spannerio import WriteMutation
  ins_mutation = WriteMutation.insert(
      table='test_data',
      columns=('id', 'data'),
      values=[(str(uuid.uuid1()), element)])
  return [ins_mutation]