class_docstr: Worker class used in all Samplers.
class_docstr_tok: ["Worker","class","used","in","all","Samplers","."]
docstr: Update the worker's agent, using agent_update.
  
  Args:
      agent_update (object): An agent update. The exact type of this
          argument depends on the `Worker` implementation.
docstr_tok: ["Update","the","worker","'s","agent",",","using","agent_update",".","Args",":","agent_update","(","object",")",":","An","agent","update",".","The","exact","type","of","this","argument","depends","on","the","`","Worker","`","implementation","."]
code: def update_agent(self, agent_update):
      """Update the worker's agent, using agent_update.
  
      Args:
          agent_update (object): An agent update. The exact type of this
              argument depends on the `Worker` implementation.
  
      """
  
file_path: garage/src/garage/sampler/worker.py
imports: import abc
label_desc: Use image node_id 2 for calling the Worker obj's underlying member method code with example usage: obj.update_agent(agent_update) without return types