code: def get_all(
      self,
      context: AuthedServiceContext,
  ) -> Union[List[SyftImageRegistry], SyftError]:
      result = self.stash.get_all(context.credentials)
      if result.is_err():
          return SyftError(message=result.err())
      return result
  
imports: from typing import List
  from typing import Union
  from ...serde.serializable import serializable
  from ...store.document_store import DocumentStore
  from ...types.uid import UID
  from ..context import AuthedServiceContext
  from ..response import SyftError
  from ..response import SyftSuccess
  from ..service import AbstractService
  from ..service import SERVICE_TO_TYPES
  from ..service import TYPE_TO_SERVICE
  from ..service import service_method
  from ..user.user_roles import DATA_OWNER_ROLE_LEVEL
  from .image_registry import SyftImageRegistry
  from .image_registry_stash import SyftImageRegistryStash
label_desc: Use image node_id 4 for calling the SyftImageRegistryService obj's underlying member method code with example usage: obj.get_all(context) and returns: result, SyftError