To execute Python functions in parallel, each Python Node call must use its own unique Python session. If you make multiple parallel Python Node calls using the same Python session, the Python Nodes will still execute in sequence rather than in parallel.
The following is an example of calling two Python functions in parallel using two separate Python sessions. Note that the while loops are set to terminate after just one iteration. However, this instructs the compiler that these two processes should run in parallel.