code: def edit_field(name, numpy_dtype, shape, nullable=False):
      """
      A helper method to create the 4-tuples (name, numpy_dtype, shape, is_nullable)
      used in the `edit_fields` of `TransformSpec`.
      """
      return name, numpy_dtype, shape, nullable
  
imports: import warnings
  from petastorm.unischema import UnischemaField, Unischema
label_desc: Use image node_id 1 for calling a global function with example usage: edit_field(name, numpy_dtype, shape, nullable) and returns: name,  numpy_dtype,  shape,  nullable