docstr: Sends the endpoint across the wire.
docstr_tok: ["Sends","the","endpoint","across","the","wire","."]
code: def _upload_endpoint(self, obj):
      """Sends the endpoint across the wire."""
      endpoint_obj = obj["endpoint_obj"]
  
      dest_path = self._get_endpoint_upload_destination()
  
      # Upload the endpoint
      obj["src_path"] = os.path.join(
          dest_path, "endpoints", obj["name"], str(obj["version"])
      )
  
      endpoint_obj.save(obj["src_path"])
  
imports: import copy
  from re import compile
  import time
  import requests
  from .rest import RequestsNetworkWrapper, ServiceClient
  from .rest_client import RESTServiceClient, Endpoint
  from .custom_query_object import CustomQueryObject
  import os
  import logging
label_desc: Use image node_id 12 for calling the Client obj's underlying member method code with example usage: obj._upload_endpoint(obj) without return types