citric._compat#

Compatibility functions and classes for different versions of LimeSurvey.

Module Contents#

Functions#

future(version)

Mark a function as only available in the current development build of LimeSurvey.

exception citric._compat.FutureVersionWarning#

Bases: UserWarning

Warning for features only available in an unreleased version of LimeSurvey.

citric._compat.future(version)#

Mark a function as only available in the current development build of LimeSurvey.

Parameters:

version (str) – The earliest version of LimeSurvey that this function is available in.

Returns:

The wrapped function.

Return type:

Callable