Source code for maha.processors.utils
from dataclasses import dataclass
from functools import wraps
from typing import Any, Callable
@dataclass
[docs]class ObjectGet:
"""Used with get function in :class:`~.BaseProcessor`"""
# function to use
# initial value
# name of the operation (argument name)
# Function to apply at end
# Defaults for post_fn, return the input