code: def get_run_time_limit_for_task(step_decos):
      run_time_limit = 5 * 24 * 60 * 60  # 5 days.
      for deco in step_decos:
          if isinstance(deco, TimeoutDecorator):
              run_time_limit = deco.secs
      return run_time_limit
  
file_path: metaflow/metaflow/plugins/timeout_decorator.py
imports: import signal
  import traceback
  from metaflow.exception import MetaflowException
  from metaflow.decorators import StepDecorator
  from metaflow.unbounded_foreach import UBF_CONTROL
label_desc: Use image node_id 1 for calling a global function with example usage: get_run_time_limit_for_task(step_decos) and returns: run_time_limit