code: def _get_datasets(count: int) -> List[DatasetData]:
      return [
          DatasetData(
              name=f"mock_dataset_{i}",
              id=utils.generate_id(),
              last_modified_at=0,
              type=DatasetType.IMAGES,
              img_type="full",
              size_in_bytes=-1,
              n_samples=-1,
              created_at=0,
              user_id="user_0",
          )
          for i in range(count)
      ]
  
imports: from typing import List
  import pytest
  from pytest_mock import MockerFixture
  from lightly.api import ApiWorkflowClient, api_workflow_datasets
  from lightly.openapi_generated.swagger_client.api import DatasetsApi
  from lightly.openapi_generated.swagger_client.models import Creator, DatasetCreateRequest, DatasetData, DatasetType
  from lightly.openapi_generated.swagger_client.rest import ApiException
  from tests.api_workflow import utils
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowSetup
label_desc: Use image node_id 1 for calling a global function with example usage: _get_datasets(count) and returns: unknown