code: def get_by_service_func_name(
      self, credentials: SyftVerifyKey, service_func_name: str
  ) -> Result[List[CodeHistory], str]:
      qks = QueryKeys(
          qks=[NamePartitionKey.with_obj(service_func_name)]
      )
      return self.query_all(credentials=credentials, qks=qks)
  
file_path: PySyft/packages/syft/src/syft/service/code_history/code_history_stash.py
imports: from typing import List
  from typing import Optional
  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 .code_history import CodeHistory
label_desc: Use image node_id 3 for calling the CodeHistoryStash obj's underlying member method code with example usage: obj.get_by_service_func_name(credentials, service_func_name) and returns: self