code: def wait(lock_path, duration_s):
      """Take a lock, wait a bit, release the lock
  
      And print the acquisition and release time, as well as wait loops.
      """
      with filelock.FileLock(lock_path, 3 * 60):
          # We can't use time.monotonic() as we're comparing time between processes and
          # time.monotonic() explicitly does not support that
          # This means the test can fail during leap seconds, but this is only a test, we
          # don't need total reliability
          print(time.time())
          time.sleep(duration_s)
          print(time.time())
  
imports: import time
  import click
  import filelock
label_desc: Use image node_id 1 for calling a global function with example usage: wait(lock_path, duration_s) without return types