code: def test_validate_default_parameters_for_schedules(
      params, no_defaults
  ):
      if no_defaults is not None:
          with pytest.raises(ValueError) as err:
              validate_default_parameters_for_schedules(params)
              assert no_defaults in str(err)
      else:
          validate_default_parameters_for_schedules(params)
  
imports: from __future__ import absolute_import
  from datetime import datetime
  import pytest
  import pytz
  from mock.mock import ANY
  from sagemaker.workflow.parameters import ParameterInteger, ParameterFloat, ParameterBoolean
  from sagemaker import Session
  from sagemaker.workflow import ParameterString
  from sagemaker.workflow._event_bridge_client_helper import EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
  from sagemaker.workflow.pipeline import Pipeline
  from mock import Mock, patch
  from sagemaker.workflow.triggers import PipelineSchedule, validate_default_parameters_for_schedules
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 10 for calling a global function with example usage: test_validate_default_parameters_for_schedules(params, no_defaults) without return types