code: def get(self):
      if self.should_fail_with_auth_error() != AuthErrorStates.NONE:
          self.fail_with_auth_error()
          return
  
      self._add_CORS_header()
      self.write(json.dumps(self.tabpy_state.get_endpoints()))
  
file_path: TabPy/tabpy/tabpy_server/handlers/endpoints_handler.py
imports: import json
  import logging
  from tabpy.tabpy_server.common.util import format_exception
  from tabpy.tabpy_server.handlers import ManagementHandler
  from tabpy.tabpy_server.handlers.util import AuthErrorStates
  from tornado import gen
label_desc: Use image node_id 2 for calling the EndpointsHandler obj's underlying member method code with example usage: obj.get() without return types