class_docstr: The Backend provides and interface for the framework to communicate with resources in the cloud.
class_docstr_tok: ["The","Backend","provides","and","interface","for","the","framework","to","communicate","with","resources","in","the","cloud","."]
code: def _wrap_run_method(
      self,
      app: "lightning.app.LightningApp",
      work: "lightning.app.LightningWork",
  ):
      if work.run.__name__ == "_dynamic_run_wrapper":
          return
  
      work.run = partial(
          self._dynamic_run_wrapper,
          app=app,
          work=work,
          work_run=unwrap(work.run),
      )
  
imports: from abc import ABC, abstractmethod
  from functools import partial
  from typing import TYPE_CHECKING, Any, Callable, List, Optional
  from lightning.app.core.queues import QueuingSystem
  from lightning.app.utilities.proxies import ProxyWorkRun, unwrap
label_desc: Use image node_id 8 for calling the Backend obj's underlying member method code with example usage: obj._wrap_run_method(app, work) without return types