# Path: src/lupin/validators/is_none.py
# class IsNone(Validator):
#     """Validate that a value is None"""
# 
#     def __call__(self, value, path):
#         """Validate that value is None
# 
#         Args:
#             value (object): value to validate
#             path (list): error path
#         """
#         if value is not None:
#             raise NotNone(value, path)
# 
# Path: src/lupin/processors.py
# def null_processor(value):
#     """Processor that does nothing, just returns the value"""
#     return value


import warnings
from functools import reduce
from lupin import ValidatorsAndCombination, ValidatorsNullCombination
from ..validators import IsNone
from ..processors import null_processor


def _make_processor(processors):
    """Returns a callable for executing the processors

    Args:
        processors (list): a list of processor functions to execute
    """
    if not processors:

# Path: src/lupin/validators/is_none.py
# class IsNone(Validator):
#     """Validate that a value is None"""
# 
#     def __call__(self, value, path):
#         """Validate that value is None
# 
#         Args:
#             value (object): value to validate
#             path (list): error path
#         """
#         if value is not None:
#             raise NotNone(value, path)
# 
# Path: src/lupin/processors.py
# def null_processor(value):
#     """Processor that does nothing, just returns the value"""
#     return value


# Path: src/lupin/fields/field.py
import warnings
from functools import reduce
from lupin import ValidatorsAndCombination, ValidatorsNullCombination
from ..validators import IsNone
from ..processors import null_processor



def _make_processor(processors):
    """Returns a callable for executing the processors

    Args:
        processors (list): a list of processor functions to execute
    """
    if not processors:

        return null_processor