code: def test_get_datasets__shared_None(mocker: MockerFixture) -> None:
      mocked_pagination = mocker.patch.object(
          api_workflow_datasets.utils, "paginate_endpoint"
      )
      mocker.patch.object(
          ApiWorkflowClient, "__init__", return_value=None
      )
      mock_datasets_api = mocker.MagicMock()
      client = ApiWorkflowClient()
      client._datasets_api = mock_datasets_api
      client.get_datasets(shared=None)
      assert mocked_pagination.call_count == 3
  
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 11 for calling a global function with example usage: test_get_datasets__shared_None(mocker) without return types