code: def main():
      run = wandb.init()
      history = 200
      for i in range(history):
          print(i)
          run.log(dict(num=i))
          time.sleep(0.1)
      print("done")
      run.finish()
  
      should_retry = os.environ.get("SHOULD_RETRY")
      message = "requests_with_retry encountered retryable exception"
  
      with open(run.settings.log_internal) as f:
          internal_log = f.read()
          if should_retry == "true":
              assert message in internal_log
          else:
              assert message not in internal_log
  
imports: import os
  import time
  import wandb
  import yea
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types