def __GENERATED__(self, t, obj, ctx, /):
    try:
        v_0 = method_map[t_dict, type(OBJ := obj.countries), Context](self, dict1, OBJ, ctx)
        return {'countries': v_0}
    except SerieuxError:
        raise
    except Exception as exc:
        raise ValidationError(exc=exc, ctx=ctx)
