code: def route(method: str, url: str, login_required: bool = False):
      def decorator(f):
          URLS.append((method, f, url, login_required))
          return f
  
      return decorator
  
file_path: labml/app/server/labml_app/analyses/analysis.py
imports: from typing import Dict
  from .series import SeriesModel
label_desc: Use image node_id 4 for calling the Analysis obj's underlying member method code with example usage: obj.route(method, url, login_required) and returns: decorator, f