code: def union(self, name: str, ty: Type) -> "Schema":
      clone = self.copy()
      clone.fields[name] = Union[self.fields.get(name, ty), ty]
      return clone
  
imports: from dataclasses import dataclass, field
  from functools import singledispatch
  from typing import Any, Dict, Type, Union
  import numpy
label_desc: Use image node_id 6 for calling the Schema obj's underlying member method code with example usage: obj.union(name, ty) and returns: clone