code: def test_populate_with_datasets(store: Store, dataset_limit):
      from sqlalchemy import func
  
      dataset_iter = islice(retrieve_openml(), dataset_limit)
      populate_with_datasets(store, dataset_iter)
  
      assert store._session.query(func.count(db.Asset.id)).scalar()
      assert store._session.query(func.count(db.Task.id)).scalar()
  
file_path: interpret/python/powerlift/tests/powerlift/bench/test_store.py
imports: from powerlift.bench.store import Store, retrieve_openml, retrieve_pmlb, populate_with_datasets
  import pandas
  from powerlift import db
  import pytest
  from itertools import islice
label_desc: Use image node_id 3 for calling a global function with example usage: test_populate_with_datasets(store, dataset_limit) without return types