# Path: falsy/loader/func.py
# def load(function_name):
# def deep_getattr(obj, attr):


from falsy.loader import func
    from celery import chain, chord, group

try:
except Exception as e:
    raise Exception('celery import failed')


def load(id, args, error_handler=None):
    if args and error_handler:

# Path: falsy/loader/func.py
# def load(function_name):
# def deep_getattr(obj, attr):


# Path: falsy/loader/task.py
from falsy.loader import func
    from celery import chain, chord, group


try:
except Exception as e:
    raise Exception('celery import failed')


def load(id, args, error_handler=None):
    if args and error_handler:

        return func.load(id).s(args).on_error(func.load(error_handler).s())