def METHOD_NAME(func):
    """
    Decorates a function to run in a separate thread for synchronous database
    access
    """
    def _thread_it(*args, **kwargs):
        return run_in_thread(func, *args, **kwargs)
    return wraps(func)(_thread_it)