(self)
| 641 | return '\n '.join([m.generate_method() for m in self.methods]) |
| 642 | |
| 643 | def generate_constructors(self) -> str: |
| 644 | return '\n '.join( |
| 645 | [m.generate_constructor(self.name) for m in self.constructors]) |
| 646 | |
| 647 | def substitute(self, s: Union[string.Template, str], **kwargs) -> str: |
| 648 | t = string.Template(s) if isinstance(s, str) else s |
no test coverage detected