minimum_version#

minimum_version(min_version)[source]#

Parameterized decorator to enforce a minimum ziPython version.

Parameters:

min_version (str) – ziPython version with format MAJOR.MINOR or MAJOR.MINOR.BUILD

Example

>>> @minimum_version('21.02')
>>> def shfqa_example(*args):
>>> ....

In case the version is not supported, the above function is swapped for throwing one during definition.