code: def add(
      self,
      context: AuthedServiceContext,
      url: str,
  ) -> Union[SyftSuccess, SyftError]:
      registry = SyftImageRegistry.from_url(url)
      res = self.stash.set(context.credentials, registry)
  
      if res.is_err():
          return SyftError(message=res.err())
  
      return SyftSuccess(
          message=f"Image Registry ID: {registry.id} created successfully"
      )
  
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 2 for calling the SyftImageRegistryService obj's underlying member method code with example usage: obj.add(context, url) and returns: SyftSuccess, SyftError