code: def framework_callback(value: str):
      try:
          return Framework(value.lower())
      except ValueError:
          raise typer.BadParameter(
              f"Invalid framework {value}. Choose from {', '.join([f.value for f in Framework])}"
          )
  
imports: import typer
  from argilla.client.models import Framework
label_desc: Use image node_id 1 for calling a global function with example usage: framework_callback(value) and returns: Framework