pyconfs/configuration.py
def _dispatch_to(converter):
    """Decorator for dispatching methods to converter functions

    This outer closure stores the converter parameter.
    """

    def _decorator_dispatch_to(func):
        """Decorate the given function"""

        @functools.wraps(func)
        def _wrapper_dispatch_to(self, key: str, **options):
            """Call the converter function"""
            return converter(value=func(self, key), **options)

        return _wrapper_dispatch_to

    return _decorator_dispatch_to
Decorator for dispatching methods to converter functions

    This outer closure stores the converter parameter.
    
Decorator for dispatching methods to converter functions
This outer closure stores the converter parameter.
Decorator for dispatching methods to converter functions This outer closure stores the converter parameter .
def _dispatch_to(converter):
    def _decorator_dispatch_to(func):
        @functools.wraps(func)
        def _wrapper_dispatch_to(self, key: str, **options):
            return converter(value=func(self, key), **options)
        return _wrapper_dispatch_to
    return _decorator_dispatch_to
def _dispatch_to ( converter ) : def _decorator_dispatch_to ( func ) : """Decorate the given function""" @ functools . wraps ( func ) def _wrapper_dispatch_to ( self , key : str , ** options ) : """Call the converter function""" return converter ( value = func ( self , key ) , ** options ) return _wrapper_dispatch_to return _decorator_dispatch_to
Decorator for dispatching methods to converter functions
This outer closure stores the converter parameter.
Decorator for dispatching methods to converter functions This outer closure stores the converter parameter .
"""Decorator for dispatching methods to converter functions

    This outer closure stores the converter parameter.
    """ """Decorate the given function""" """Call the converter function"""
converter