def _import_function(config):
    function = config['function']
    function = function.split('.')
    function_name = function[(- 1)]
    package = '.'.join(function[:(- 1)])
    module = importlib.import_module(package)
    return getattr(module, function_name)
def _import_function(config):
    function = config['function']
    function = function.split('.')
    function_name = function[(- 1)]
    package = '.'.join(function[:(- 1)])
    module = importlib.import_module(package)
    return getattr(module, function_name)