code: def set_variable(key, value):
      print("# set variable:", key, value)
      print(f"##vso[task.setvariable variable={key}]{value}")
  
imports: from pathlib import Path
  import os
  import subprocess
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: set_variable(key, value) without return types