You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Flytekit there is no way to mock a named tuple that only has a single member. Mocking a situation like the following results in a AttributeError: 'Promise' object has no attribute 'uri' error.
Hello 👋, This issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏
Something similar to this will soon be possible. We still haven't figured out the namedtuple issue yet, but you should be able to bind to dataclass components soon. #4232
Description:
In Flytekit there is no way to mock a named tuple that only has a single member. Mocking a situation like the following results in a
AttributeError: 'Promise' object has no attribute 'uri'
error.Ideally we would be able to do something like the following which we can do when the NamedTuple has two attributes:
The text was updated successfully, but these errors were encountered: