def gen_inherited(self) -> str:
inherited_head = '<STR_LIT>'<EOL>inherited_slots = '<STR_LIT:U+002CU+0020>'.join([f'<STR_LIT>' for slot in self.schema.slots.values()<EOL>if slot.inherited])<EOL>is_rows = split_line(inherited_slots, <NUM_LIT> - len(inherited_head))<EOL>return inherited_head + ('<STR_LIT:\n>' + len(inherited_head) * '<STR_LIT:U+0020>').join([r.strip() for r in is_rows]) + '<STR_LIT:]>'<EOL>
Generate the list of slot properties that are inherited across slot_usage or is_a paths