code: def record_data_by_id(*, dataset: str, record_id: str):
      data = active_api().datasets.scan(
          name=dataset,
          query=f"id: {record_id}",
          projection={"metadata"},
      )
  
      for record in data:
          return record
  
imports: import pytest
  from argilla.client.sdk.commons.errors import NotFoundApiError
  from argilla.client.singleton import active_api, init
  from argilla.server.models import User
label_desc: Use image node_id 3 for calling a global function with example usage: record_data_by_id() and returns: record