pastas.decorators.PastasDeprecationWarning ========================================== .. py:function:: pastas.decorators.PastasDeprecationWarning(remove_version: str, reason: str = '') -> Any Provide a warning or error when a Pastas class, method or function is deprecated. Logs a warning if the current Pastas version is lower than the version in which the class, function or method is removed. Raises a DeprecationWarning if the current Pastas version is higher than the version in which the class, function or method was removed. :param remove_version: The version in which the function or class will be removed. :type remove_version: str :param reason: The reason why the function or class is deprecated. Or provide a message that tells the user which alternative should be used. :type reason: str, optional .. !! processed by numpydoc !!