code: def test_should_respect_page_size_limit_default(
      self, admin_client, session
  ):
      datasets = [
          DatasetModel(
              uri=f"s3://bucket/key/{i}",
              extra={"foo": "bar"},
          )
          for i in range(1, 60)
      ]
      session.add_all(datasets)
      session.commit()
  
      response = admin_client.get("/object/datasets_summary")
  
      assert response.status_code == 200
      assert len(response.json["datasets"]) == 25
  
imports: from __future__ import annotations
  import pendulum
  import pytest
  from dateutil.tz import UTC
  from airflow.datasets import Dataset
  from airflow.models.dataset import DatasetEvent, DatasetModel
  from airflow.operators.empty import EmptyOperator
  from tests.test_utils.asserts import assert_queries_count
  from tests.test_utils.db import clear_db_datasets
label_desc: Use image node_id 2 for calling the TestGetDatasetsEndpointPagination obj's underlying member method code with example usage: obj.test_should_respect_page_size_limit_default(admin_client, session) without return types