def __GENERATED__(self, t, obj, ctx, /):
    __RET = {}
    __RET['x'] = obj.x if type(__TMP := obj.x) is int else serialize(self, int, __TMP, ctx)
    __RET['y'] = obj.y if type(__TMP := obj.y) is int else serialize(self, int, __TMP, ctx)
    return __RET
