code: def test_tags_with_valid_schema(
      base_config_with_schema, valid_edge_packaging_config
  ):
      edge_packaging_config = valid_edge_packaging_config.copy()
      edge_packaging_config["Tags"] = [
          {"Key": "somekey", "Value": "somevalue"}
      ]
      config = base_config_with_schema
      config["SageMaker"] = {"EdgePackagingJob": edge_packaging_config}
      validate(config, SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA)
  
imports: from __future__ import absolute_import
  from jsonschema import validate, exceptions
  import pytest
  from sagemaker.config.config_schema import SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA, SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA
label_desc: Use image node_id 21 for calling a global function with example usage: test_tags_with_valid_schema(base_config_with_schema, valid_edge_packaging_config) without return types