code: def status(obj, job_name, fetch, task_filters, validate):
      output = obj["output"]
      queue = obj["queue"]
      if fetch:
          queue.fetch()
      job = queue.get(job_name)
  
      success = True
  
      def asset_callback(task_name, task, asset):
          nonlocal success
          if task.status().combined_state in {"error", "failure"}:
              success = False
          if asset is None:
              success = False
  
      report = ConsoleReport(job, task_filters=task_filters)
      report.show(output, asset_callback=asset_callback)
      if validate and not success:
          sys.exit(1)
  
imports: from datetime import date
  from pathlib import Path
  import time
  import sys
  import click
  from .core import Config, Repo, Queue, Target, Job, CrossbowError
  from .reports import ChatReport, Report, ReportUtils, ConsoleReport, EmailReport, CommentReport
  from ..utils.source import ArrowSources
label_desc: Use image node_id 6 for calling a global function with example usage: status(obj, job_name, fetch, task_filters, validate) without return types