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

Collect Match statements #156

Open
JoaoFelipe opened this issue Jun 6, 2024 · 0 comments
Open

Collect Match statements #156

JoaoFelipe opened this issue Jun 6, 2024 · 0 comments

Comments

@JoaoFelipe
Copy link
Contributor

Python 3.10 introduced a syntax for pattern matching.

match num:
        # pattern 1
        case 1:
            print("One")
        # pattern 2
        case 2:
            print("Two")
        # pattern 3
        case 3:
            print("Three")
        # default pattern
        case _:
            print("Number not between 1 and 3")

We don't really need to support it to support general provenance collection on newer python versions (issue #155), so I'm creating this issue to decouple this feature from the bugs that are preventing us from running noWorkflow on newer versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant