code: def get_files_from_bucket(
      self, context: AuthedServiceContext, bucket_name: str
  ):
      result = self.stash.find_all(
          context.credentials, bucket_name=bucket_name
      )
      if result.is_err():
          return result
      bse_list = result.ok()
      # stdlib
  
      blob_files = []
      for bse in bse_list:
          self.stash.set(obj=bse, credentials=context.credentials)
          # We create an empty ActionObject and set its blob_storage_entry_id to bse.id
          # such that we can call reload_cache which creates
          # the BlobRetrieval (user needs permission to do this)
          # This could be a BlobRetrievalByURL that creates a BlobFile
          # and then sets it in the cache (it does not contain the data, only the BlobFile).
          # In the client, when reading the file, we will creates **another**, blobretrieval
          # object to read the actual data
          blob_file = ActionObject.empty()
          blob_file.syft_blob_storage_entry_id = bse.id
          blob_file.syft_client_verify_key = context.credentials
          blob_file.syft_node_location = context.node.id
          blob_file.reload_cache()
          blob_files.append(blob_file.syft_action_data)
  
      return blob_files
  
imports: from pathlib import Path
  from typing import List
  from typing import Optional
  from typing import Union
  import requests
  from ...serde.serializable import serializable
  from ...service.action.action_object import ActionObject
  from ...store.blob_storage import BlobRetrieval
  from ...store.blob_storage.on_disk import OnDiskBlobDeposit
  from ...store.blob_storage.seaweedfs import SeaweedFSBlobDeposit
  from ...store.document_store import DocumentStore
  from ...store.document_store import UIDPartitionKey
  from ...types.blob_storage import AzureSecureFilePathLocation
  from ...types.blob_storage import BlobFileType
  from ...types.blob_storage import BlobStorageEntry
  from ...types.blob_storage import BlobStorageMetadata
  from ...types.blob_storage import CreateBlobStorageEntry
  from ...types.blob_storage import SeaweedSecureFilePathLocation
  from ...types.uid import UID
  from ..context import AuthedServiceContext
  from ..response import SyftError
  from ..response import SyftSuccess
  from ..service import AbstractService
  from ..service import TYPE_TO_SERVICE
  from ..service import service_method
  from ..user.user_roles import GUEST_ROLE_LEVEL
  from .remote_profile import AzureRemoteProfile
  from .remote_profile import RemoteProfileStash
  from .stash import BlobStorageStash
label_desc: Use image node_id 4 for calling the BlobStorageService obj's underlying member method code with example usage: obj.get_files_from_bucket(context, bucket_name) and returns: blob_files, result