docstr: The name of the LightningWork where this payload is being accessed.
  
  By default, this is the same as the :attr:`origin_name`.
docstr_tok: ["The","name","of","the","LightningWork","where","this","payload","is","being","accessed",".","By","default",",","this","is","the","same","as","the",":","attr",":","`","origin_name","`","."]
code: def consumer_name(self) -> str:
      """The name of the LightningWork where this payload is being accessed.
  
      By default, this is the same as the :attr:`origin_name`.
  
      """
      from lightning.app.core.work import LightningWork
  
      return (
          self._consumer.name
          if isinstance(self._consumer, LightningWork)
          else self._consumer
      )
  
imports: import hashlib
  import pathlib
  import pickle
  from abc import ABC, abstractmethod
  from time import sleep
  from typing import TYPE_CHECKING, Any, Optional, Union
  from lightning.app.core.constants import REMOTE_STORAGE_WAIT
  from lightning.app.core.queues import BaseQueue
  from lightning.app.storage.path import Path, _filesystem, _shared_storage_path
  from lightning.app.storage.requests import _ExistsRequest, _ExistsResponse, _GetRequest, _GetResponse
  from lightning.app.utilities.app_helpers import Logger
  from lightning.app.utilities.component import _is_flow_context
label_desc: Use image node_id 6 for calling the _BasePayload obj's underlying member method code with example usage: obj.consumer_name() and returns: unknown