:py:mod:`medcat.utils.decorators` ================================= .. py:module:: medcat.utils.decorators Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: medcat.utils.decorators._format_version medcat.utils.decorators.deprecated medcat.utils.decorators.check_positive .. py:function:: _format_version(ver) .. py:function:: deprecated(message, depr_version, removal_version) Deprecate a method. :param message: The deprecation message. :type message: str :param depr_version: The first version of MedCAT where this was deprecated. :type depr_version: Tuple[int, int, int] :param removal_version: The first version of MedCAT where this will be removed. :type removal_version: Tuple[int, int, int] :Returns: **Callable** -- _description_ .. py:function:: check_positive(func)