flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[Core feature] Improve error message when using promises like regular python values

Open cosmicBboy opened this issue 1 year ago • 2 comments

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

cosmicBboy avatar Mar 21 '23 20:03 cosmicBboy

+1

hebiao064 avatar Aug 03 '23 06:08 hebiao064

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! 🙏

github-actions[bot] avatar Apr 30 '24 00:04 github-actions[bot]