flytekit 1.13.13 flyteidl 1.13.5 For some reason I’m seeing this error `AttributeError: 'Output' ob...
l
flytekit 1.13.13 flyteidl 1.13.5 For some reason I’m seeing this error
AttributeError: 'Output' object has no attribute 'ref'
when I try to run the following commands
Copy code
pyflyte --pkgs flyte.workflows package --image ${APP_NAME}:${IMAGE_VERSION} -f &&\
		flytectl register files --admin.endpoint $(FLYTE_ADMIN_HOST):443 -p $(FLYTE_PROJECT_NAME) -d $(FLYTE_PROJECT_DOMAIN) \
		    --version $(IMAGE_VERSION) --archive flyte-package.tgz"
I think it’s a reference to this class.. and in the past it did have a “ref” property. But not sure why it’s breaking now.
So the fix was returning a dataclass instead of a NamedTuple. It’s interesting that this issue did not get surfaced earlier since we’ve been on 1.13 for a while now