code: def gen_classdef(self, clsname: str,  cls: ClassDefinition) -> str:
          
          parentref = f'({self.python_name_for(cls.is_a) if cls.is_a else "YAMLRoot"})'
          slotdefs = self.gen_slot_variables(cls)
          postinits = self.gen_postinits(cls)
          if not slotdefs:
              slotdefs = 'pass'
          wrapped_description = f'''
      """
      {wrapped_annotation(be(cls.description))}
      """''' if be(cls.description) else ''
          return f'''
  @dataclass
  class {camelcase(clsname)}{parentref}:{wrapped_description}
      {slotdefs}
      {postinits}'''
docs: Generate python definition for class clsname