docstr: Returns all deployed endpoints.
  
  Examples
  --------
  .. sourcecode:: python
      {"clustering":
        {"description": "",
         "docstring": "-- no docstring found in query function --",
         "creation_time": 1469511182,
         "version": 1,
         "dependencies": [],
         "last_modified_time": 1469511182,
         "type": "model",
         "target": null},
      "add": {
        "description": "",
        "docstring": "-- no docstring found in query function --",
        "creation_time": 1469505967,
        "version": 1,
        "dependencies": [],
        "last_modified_time": 1469505967,
        "type": "model",
        "target": null}
      }
docstr_tok: ["Returns","all","deployed","endpoints",".","Examples","--","--","--","--","..","sourcecode",":",":","python","{","``","clustering","''",":","{","``","description","''",":","``","''",",","``","docstring","''",":","``","--","no","docstring","found","in","query","function","--","''",",","``","creation_time","''",":","1469511182",",","``","version","''",":","1",",","``","dependencies","''",":","[","]",",","``","last_modified_time","''",":","1469511182",",","``","type","''",":","``","model","''",",","``","target","''",":","null","}",",","``","add","''",":","{","``","description","''",":","``","''",",","``","docstring","''",":","``","--","no","docstring","found","in","query","function","--","''",",","``","creation_time","''",":","1469505967",",","``","version","''",":","1",",","``","dependencies","''",":","[","]",",","``","last_modified_time","''",":","1469505967",",","``","type","''",":","``","model","''",",","``","target","''",":","null","}","}"]
code: def get_endpoints(self, type=None):
      """Returns all deployed endpoints.
  
      Examples
      --------
      .. sourcecode:: python
          {"clustering":
            {"description": "",
             "docstring": "-- no docstring found in query function --",
             "creation_time": 1469511182,
             "version": 1,
             "dependencies": [],
             "last_modified_time": 1469511182,
             "type": "model",
             "target": null},
          "add": {
            "description": "",
            "docstring": "-- no docstring found in query function --",
            "creation_time": 1469505967,
            "version": 1,
            "dependencies": [],
            "last_modified_time": 1469505967,
            "type": "model",
            "target": null}
          }
      """
      return self._service.get_endpoints(type)
  
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 7 for calling the Client obj's underlying member method code with example usage: obj.get_endpoints(type) and returns: self