Skip to content
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

[Core feature] Possibility to check for None values #3514

Open
2 tasks done
MartinTschechne opened this issue Mar 22, 2023 · 4 comments
Open
2 tasks done

[Core feature] Possibility to check for None values #3514

MartinTschechne opened this issue Mar 22, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request flytekit FlyteKit Python related issue good first issue Good for newcomers help wanted Extra attention is needed scipy-2023 stale

Comments

@MartinTschechne
Copy link

Motivation: Why do you think this is important?

Additionally to is_true() and is_false() it would be nice to have a functionality to check whether None is returned by a task. This could be useful in conditionals for example.

Goal: What should the final outcome look like, ideally?

The function is_none() should simply return True or False and logically work like

if val is None:
    return True
else:
    return False

Describe alternatives you've considered

Either returning the string 'None' or False and explicitly check for that.

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@MartinTschechne MartinTschechne added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers labels Mar 22, 2023
@welcome
Copy link

welcome bot commented Mar 22, 2023

Thank you for opening your first issue here! 🛠

@eapolinario eapolinario added good first issue Good for newcomers help wanted Extra attention is needed and removed untriaged This issues has not yet been looked at by the Maintainers labels Mar 28, 2023
@cosmicBboy cosmicBboy added scipy-2023 flytekit FlyteKit Python related issue labels Jul 15, 2023
@hhcs9527
Copy link

Hi @cosmicBboy, can you assign this issue to me?
I am interested in this one.

Thanks.

@ananyapillai72
Copy link

Hey! would like to work on this

Copy link

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 github-actions bot added the stale label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flytekit FlyteKit Python related issue good first issue Good for newcomers help wanted Extra attention is needed scipy-2023 stale
Projects
None yet
Development

No branches or pull requests

5 participants