flyte
flyte copied to clipboard
[Core feature] Improve error message when using promises like regular python values
Motivation: Why do you think this is important?
New flytekit users will often try to manipulate promises expecting them to be regular python values. This throws off the user experience, so error messages need to be absolutely clear when doing so.
Goal: What should the final outcome look like, ideally?
The error message should provide a clear explanation as to why promises can only be operated on in specific circumstances.
Describe alternatives you've considered
NA
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
- [X] Yes
Have you read the Code of Conduct?
- [X] Yes
+1
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 engage on it to decide if it is still applicable. Thank you for your contribution and understanding! 🙏