(worker_id: int)
return foreman.pause_worker_thread(worker_id)
Pause a worker given that worker's ID

    :param worker_id:
    :return:
Pause a worker given that worker's ID
Pause a worker given that worker s ID
def pause_worker_by_id(worker_id: int):
    """
    Pause a worker given that worker's ID

    :param worker_id:
    :return:
    """
    urt = UnmanicRunningTreads()
    foreman = urt.get_unmanic_running_thread('foreman')
    return foreman.pause_worker_thread(worker_id)
def pause_worker_by_id ( worker_id : int ) : urt = UnmanicRunningTreads ( ) foreman = urt . get_unmanic_running_thread ( 'foreman' ) return foreman . pause_worker_thread ( worker_id )