code: def test_scan_records_without_results(
      mocked_client,
      gutenberg_spacy_ner,
  ):
      data = active_api().datasets.scan(
          name=gutenberg_spacy_ner,
          query_text="status: NO_DATA",
      )
      data = list(data)
      assert len(data) == 0
  
file_path: argilla/tests/integration/client/test_scan_raw_records.py
imports: import pytest
  from argilla.client.api import load
  from argilla.client.sdk.token_classification.models import TokenClassificationRecord
  from argilla.client.singleton import active_api
label_desc: Use image node_id 3 for calling a global function with example usage: test_scan_records_without_results(mocked_client, gutenberg_spacy_ner) without return types