Match case in Python 3.10 Beta

Hi,

Is the match case syntax pep-634-structural-pattern-matching not yet supported in the Anvil Editor?

I get a SyntaxError: bad input when using it with the Python 3.10 (Beta) environment.

image

image

This is a wild guess but, are you, by any chance attempting to use that in client code? The 3.10 environment is server side only.

And also, even if you are on the server, if you are on the Python 3 Full server version rather than the Python 3.10 Beta, it also wouldn’t work.

@owen.campbell that was indeed the case.

@duncan_richards12 that is a good point, thanks!