def ignore_missing(key, data, errors, context):
 value = data.get(key)
 if ((value is missing) or (value is None)):
  data.pop(key, None)
  raise StopOnError

def ignore_missing ( key , data , errors , context ) : value = data . get ( key ) if ( ( value is missing ) or ( value is None ) ) : data . pop ( key , None ) raise StopOnError
if the key is missing from the data .