code: def retry_limit(v: str) -> int:
      return parse_duration(v)
  
file_path: dstack/src/dstack/_internal/cli/services/configurators/profile.py
imports: import argparse
  import os
  import re
  from typing import Dict
  from dstack._internal.core.models.profiles import Profile, ProfileDisk, ProfileGPU, ProfileRetryPolicy, SpotPolicy, parse_duration, parse_max_duration
label_desc: Use image node_id 5 for calling a global function with example usage: retry_limit(v) and returns: parse_duration