code: def _get_sampling_create_request(
      tag_name: str = "new-tag",
  ) -> SamplingCreateRequest:
      return SamplingCreateRequest(
          new_tag_name=tag_name,
          method=SamplingMethod.RANDOM,
          config={},
      )
  
file_path: lightly/tests/api_workflow/test_api_workflow_selection.py
imports: from typing import List
  import pytest
  from pytest_mock import MockerFixture
  from lightly.active_learning.config.selection_config import SelectionConfig
  from lightly.api import ApiWorkflowClient, api_workflow_selection
  from lightly.openapi_generated.swagger_client.models import JobResultType, JobState, JobStatusData, JobStatusDataResult, SamplingCreateRequest, SamplingMethod, TagData
  from tests.api_workflow import utils
label_desc: Use image node_id 2 for calling a global function with example usage: _get_sampling_create_request(tag_name) and returns: SamplingCreateRequest