code: def job_list(
      is_rsync_before: bool,
      show_stopped: bool,
      show_hidden: bool,
      tag: List[str],
  ):
      """Show list of jobs"""
      if is_rsync_before:
          for k in util.get_servers(""):
              SERVERS[k].rsync_jobs()
          time.sleep(0.5)
  
      for _job in JOBS.all():
          matched = True
          for t in tag:
              if t not in _job.tags:
                  matched = False
          if not matched:
              continue
          if not show_hidden and "__hidden__" in _job.tags:
              continue
          if not show_stopped and not _job.running:
              continue
  
          logger.log(util.log_job(_job))
  
file_path: labml/remote/labml_remote/cli/job.py
imports: import time
  from typing import List, Tuple
  import click
  from labml import logger, monit
  from labml.logger import Text
  from labml_remote.execute import UIMode
  from labml_remote.job import JOBS
  from labml_remote.server import SERVERS
  from .None import util
label_desc: Use image node_id 3 for calling a global function with example usage: job_list(is_rsync_before, show_stopped, show_hidden, tag) without return types