pastas.decorators.get_stressmodel ================================= .. py:function:: pastas.decorators.get_stressmodel(function: collections.abc.Callable) -> collections.abc.Callable Validate and retrieve stressmodel by name. This decorator checks if the stressmodel name exists before calling the wrapped function. :param function: The function to wrap. :type function: Callable :returns: The wrapped function with stressmodel validation. :rtype: Callable .. !! processed by numpydoc !!