def METHOD_NAME(self, source, target):
    """
    Moves work from buffer in to main queue or buffer out
    """
    sqlStr1 = ''
    sqlStr2 = ''
    if source == 'tp_threadpool_buffer_in':
        sqlStr1 = """