-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] RemoteEntities doesn't work properly using >> #5581
Comments
The issue you're encountering is related to the improper functioning of the A workaround for this issue is to reference the specific field of the remote entity's output, as shown below: a >> remoteEntity.<some_field>.node >> b Would you like more detail on how to work around this issue or any other specific aspect? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
@eapolinario Are you working on this issue? I think I have some thoughts that may solve this issue. |
Hi @andresgomezfrr, could you please share a concrete example that reproduces the error? That would greatly help in pinpointing the issue. |
@Mecoli1219 , I'm not actively working on this. I unassigned myself. |
Describe the bug
I'm getting this error:
The internal code where this is thrown is:
I think the issue is that this class Output:
https://github.com/flyteorg/flytekit/blob/master/flytekit/core/promise.py#L697-L716
doesnt have implemented the ref, so when you try to use the
>>
operator using remoteEntity which are wrapped in the Output class you will hit this error.If I check the type of my remoteEntity it is
<class 'flytekit.core.promise.create_task_output.<locals>.Output'>
This is a workaround:
This is related to: #5393
Expected behavior
Be able to chaining remoteEntities
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: