code: def get_entries_by_function_id(
      self, function_id: int
  ) -> List[FunctionMetadataCatalogEntry]:
      try:
          result = (
              self.session.execute(
                  select(self.model).filter(
                      self.model._function_id == function_id,
                  )
              )
              .scalars()
              .all()
          )
          return [obj.as_dataclass() for obj in result]
      except Exception as e:
          error = f"Getting metadata entries for function id {function_id} raised {e}"
          logger.error(error)
          raise CatalogError(error)
  
file_path: evadb/evadb/catalog/services/function_metadata_catalog_service.py
imports: from typing import List
  from sqlalchemy.orm import Session
  from sqlalchemy.sql.expression import select
  from evadb.catalog.models.function_metadata_catalog import FunctionMetadataCatalog, FunctionMetadataCatalogEntry
  from evadb.catalog.services.base_service import BaseService
  from evadb.utils.errors import CatalogError
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 3 for calling the FunctionMetadataCatalogService obj's underlying member method code with example usage: obj.get_entries_by_function_id(function_id) and returns: unknown