APY-31: Update the code from Ally-Py tutorial

Environment for examples with the last one from the tutorial.