Hello community,

I'm on LEAN 13829.  The Github page says: The core of the LEAN Engine … supports algorithms written in Python 3.6 

Stack overflow says you can use pattern matching with the “match” keyword since Python 3.10.  When I try this, I get a syntax error “invalid syntax jedi”:

    def OnOrderEvent(self, orderEvent):
        match orderEvent.Status:
            case OrderStatus.New:
                self.Debug('Order is created but has not been submitted by the brokerage.')

As far as I can tell, I'm following proper syntax rules.  What am I missing? Thanks!