code: def get_by_url(
      self,
      credentials: SyftVerifyKey,
      url: str,
  ) -> Result[Optional[SyftImageRegistry], str]:
      qks = QueryKeys(qks=[URLPartitionKey.with_obj(url)])
      return self.query_one(credentials=credentials, qks=qks)
  
file_path: PySyft/packages/syft/src/syft/service/worker/image_registry_stash.py
imports: from typing import Optional
  from result import Ok
  from result import Result
  from ...node.credentials import SyftVerifyKey
  from ...serde.serializable import serializable
  from ...store.document_store import BaseUIDStoreStash
  from ...store.document_store import DocumentStore
  from ...store.document_store import PartitionKey
  from ...store.document_store import PartitionSettings
  from ...store.document_store import QueryKeys
  from ..response import SyftSuccess
  from .image_registry import SyftImageRegistry
label_desc: Use image node_id 2 for calling the SyftImageRegistryStash obj's underlying member method code with example usage: obj.get_by_url(credentials, url) and returns: self