code: def export_request(request: CritiqueRequest):
      """Exports critique requests.
  
      After the calling this, the user should manually upload the generated CSV
      and Crowd HTML files to the Mechanical Turk web UI.
  
      - The requests will be exported to mturk/{template.name}/requests_{timestamp}.csv
      - The template Crowd HTML will be exported to mturk/{template.name}/layout_{timestamp}.html
      """
  
      template: CritiqueTaskTemplate = request.template
      with _exporters_lock:
          if template.name not in _exporters:
              _exporters[
                  template.name
              ] = _MechanicalTurkCritiqueRequestExporter(template)
      _exporters[template.name].export(request.fields)
  
imports: import csv
  from datetime import datetime
  import os
  from threading import Lock
  from typing import Dict, List, Sequence
  import textwrap
  import re
  from helm.common.critique_request import CritiqueQuestionTemplate, CritiqueRequest, CritiqueTaskTemplate, QuestionType
  from helm.common.general import ensure_directory_exists
  from helm.common.hierarchical_logger import hlog
label_desc: Use image node_id 7 for calling a global function with example usage: export_request(request) without return types