Python trick - bind function and enum argument

Recently I came up with an interesting trick for a simpler and perhaps more intuitive (especially for beginners) way to call a Python function that take enums as an arguments.

July 23, 2023