code: def __init__(self, id, args, ctx=None):
      self.id = id
      self.args = args
      self.ctx = ctx
  
imports: import contextlib
  import functools
  import json
  import os
  import re
  import click
  from click import shell_completion
  import guild
  from guild import python_util
label_desc: Use image node_id 1 to create a new CmdContext object  with example: obj = CmdContext(id, args, ctx)