code: def make_deployment_config(
      node_config: message.Message, node_id: str = _NODE_ID
  ) -> pipeline_pb2.IntermediateDeploymentConfig:
      result = pipeline_pb2.IntermediateDeploymentConfig()
      result.node_level_platform_configs[node_id].Pack(node_config)
      return result
  
file_path: tfx/tfx/orchestration/experimental/core/deployment_config_utils_test.py
imports: import tensorflow
  from tfx.orchestration.experimental.core import deployment_config_utils
  from tfx.proto.orchestration import executable_spec_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.proto.orchestration import platform_config_pb2
  from google.protobuf import message
label_desc: Use image node_id 1 for calling a global function with example usage: make_deployment_config(node_config, node_id) and returns: result