def get_default_kubeflow_metadata_config() -> kubeflow_pb2.KubeflowMetadataConfig:
    'Returns the default metadata connection config for Kubeflow.\n\n  Returns:\n    A config proto that will be serialized as JSON and passed to the running\n    container so the TFX component driver is able to communicate with MLMD in\n    a Kubeflow cluster.\n  '
    config = kubeflow_pb2.KubeflowMetadataConfig()
    config.grpc_config.grpc_service_host.environment_variable = 'METADATA_GRPC_SERVICE_HOST'
    config.grpc_config.grpc_service_port.environment_variable = 'METADATA_GRPC_SERVICE_PORT'
    return config
Returns the default metadata connection config for Kubeflow.

Returns:
  A config proto that will be serialized as JSON and passed to the running
  container so the TFX component driver is able to communicate with MLMD in
  a Kubeflow cluster.
def get_default_kubeflow_metadata_config() -> kubeflow_pb2.KubeflowMetadataConfig:
    'Returns the default metadata connection config for Kubeflow.\n\n  Returns:\n    A config proto that will be serialized as JSON and passed to the running\n    container so the TFX component driver is able to communicate with MLMD in\n    a Kubeflow cluster.\n  '
    config = kubeflow_pb2.KubeflowMetadataConfig()
    config.grpc_config.grpc_service_host.environment_variable = 'METADATA_GRPC_SERVICE_HOST'
    config.grpc_config.grpc_service_port.environment_variable = 'METADATA_GRPC_SERVICE_PORT'
    return config