code: def test_jsonl_corpus_loads_metadata(tasks_base_path):
      """Tests reading a JsonlDataset containing metadata."""
      dataset = JsonlDataset(tasks_base_path / "jsonl" / "testa.jsonl")
  
      assert len(dataset.sentences) == 3
      assert dataset.sentences[0].get_metadata("from") == 123
      assert dataset.sentences[1].get_metadata("from") == 124
      assert dataset.sentences[2].get_metadata("from") == 125
  
imports: import copy
  import shutil
  import pytest
  import flair
  import flair.datasets
  from flair.data import MultiCorpus, Sentence
  from flair.datasets import ColumnCorpus
  from flair.datasets.sequence_labeling import ONTONOTES, JsonlCorpus, JsonlDataset, MultiFileJsonlCorpus
label_desc: Use image node_id 37 for calling a global function with example usage: test_jsonl_corpus_loads_metadata(tasks_base_path) without return types