(self)
| 101 | self.get_new_label = get_new_label |
| 102 | |
| 103 | def get_config(self): |
| 104 | config = { |
| 105 | 'id_attr': self.id_attr, |
| 106 | 'keep_attrs': self.keep_attrs[:5], |
| 107 | 'label_attr': self.label_attr, |
| 108 | 'use_position': self.use_position, |
| 109 | 'window_size': self.window_size, |
| 110 | 'rect': dict(list(self.rect.items())[:3]), |
| 111 | 'keep_elem': self.keep[:5], |
| 112 | 'obs_elem': self.obs[:5], |
| 113 | 'parent_chain': self.parent_chain, |
| 114 | 'prompt_name': self.prompt.name, |
| 115 | 'identifier_name': self.identifier.name |
| 116 | } |
| 117 | |
| 118 | return config, config_meta.format(**config) |
| 119 | |
| 120 | @staticmethod |
| 121 | def ctx2tree(ctx: str) -> html.HtmlElement: |
nothing calls this directly
no outgoing calls
no test coverage detected