class_docstr: Crawls the HTTP application to find all routes
code: def get(self):
      out = set()
      routers = set()
      for app in self.application.applications + [self.application]:
          if "bokeh" in str(app):
              out.update(set(app.app_paths))
          else:
              _descend_routes(app.default_router, routers, out)
              _descend_routes(app.wildcard_router, routers, out)
      self.write({"paths": sorted(out)})
  
file_path: distributed/distributed/http/routing.py
imports: from __future__ import annotations
  import os
  import tornado.httputil
  import tornado.routing
  from tornado import web
label_desc: Use image node_id 1 for calling the DirectoryHandler obj's underlying member method code with example usage: obj.get() without return types