def get_bundle_worker(self, uuid):
        with self._engine.begin() as connection:
            row = connection.execute(cl_worker_run.select()
                                     .where(cl_worker_run.c.run_uuid == uuid)).fetchone()
            precondition(row, 'Trying to find worker for bundle that is not running.')
            worker_row = connection.execute(cl_worker.select()
                                            .where(and_(cl_worker.c.user_id == row.user_id,
                                                        cl_worker.c.worker_id == row.worker_id))).fetchone()
            return {
                'user_id': worker_row.user_id,
                'worker_id': worker_row.worker_id,
                'socket_id': worker_row.socket_id,
            }
Returns information about the worker that the given bundle is running
dataset/ETHPy150Open codalab/codalab-cli/codalab/model/worker_model.py/WorkerModel.get_bundle_worker