Match statement from 3.10 in editor

What I’m trying to do:

In python 3.10 they introduced a match statement.

What I’ve tried and what’s not working:

I have the statement flagging as error (bad input) in the anvil editor.

Is this a known issue?

Code Sample:

# this is a formatted code snippet.
# paste your code between ``` 

Clone link:
share a copy of your app

Clarifying questions: Is it server code (as opposed to client code) you are editing when this happens? If so, are you using the Python 3.10 (Beta) python version for Server Code?

1 Like

Yes. It is in the server 3.10(beta)

1 Like

This would be a good feature request - at present the linter in the IDE only supports python 3.7 syntax.

2 Likes